Skip to content

PfxMaterial ​

PfxMaterial ​

DER, PEM, and base64 encodings of a PFX container produced by createPfx.

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

Properties

  • readonly der: Uint8Array — Raw DER-encoded PFX bytes.
  • readonly pem: string — PEM-armored PFX (-----BEGIN PKCS12-----).
  • readonly base64: string — Base64-encoded DER (no PEM armor).

Released under the MIT License.