Skip to content

ParsedExtension

A raw X.509v3 extension before type-specific decoding.

ts
interface ParsedExtension {
	readonly oid: string;
	readonly critical: boolean;
	readonly valueDer: Uint8Array;
	readonly valueHex: string;
}

Properties

  • readonly oid: string — Dotted-decimal OID identifying this extension.
  • readonly critical: boolean — Whether a validator MUST reject the certificate if it cannot process this extension.
  • readonly valueDer: Uint8Array — DER-encoded OCTET STRING payload (extnValue).
  • readonly valueHex: string — Hex-encoded form of valueDer for display and comparison.

Released under the MIT License.