Skip to content

derImplicitPrimitiveContext ​

derImplicitPrimitiveContext ​

Wraps a value in an implicit context-specific primitive tag (0x80 + tag).

Used for [tag] IMPLICIT fields whose underlying type is primitive (e.g. OCTET STRING).

ts
function derImplicitPrimitiveContext(
	tag: number,
	value: Uint8Array,
): Uint8Array

Parameters

  • tag: number
  • value: Uint8Array

Released under the MIT License.