Skip to content

CertificateMaterial

Encoded certificate material in common interchange formats.

ts
interface CertificateMaterial {
	readonly der: Uint8Array;
	readonly pem: string;
	readonly base64: string;
}

Properties

  • readonly der: Uint8Array — DER-encoded certificate bytes.
  • readonly pem: string — PEM-encoded certificate.
  • readonly base64: string — Base64 encoding of der without PEM armor.

Released under the MIT License.