Skip to content

CustomExtension

An extension not covered by the typed fields in CertificateExtensionsInput.

ts
interface CustomExtension {
	readonly oid: string;
	readonly value: Uint8Array;
	readonly critical?: boolean;
}

Properties

  • readonly oid: string — Dotted-decimal OID of the extension.
  • readonly value: Uint8Array — Pre-encoded DER content for the extnValue OCTET STRING.
  • readonly critical?: boolean — Whether the extension is critical. Default false.

Released under the MIT License.