Skip to content

CsrMaterial ​

CsrMaterial ​

DER, PEM, and base64 encodings of a CSR produced by createCertificateSigningRequest.

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

Properties

  • readonly der: Uint8Array — Raw DER-encoded PKCS#10 CertificationRequest.
  • readonly pem: string — PEM-armored CSR (-----BEGIN CERTIFICATE REQUEST-----).
  • readonly base64: string — Base64-encoded DER (no PEM armor).

Released under the MIT License.