Skip to content

OcspResponseMaterial ​

OcspResponseMaterial ​

Encoded OCSP response in multiple serialisation formats, returned by createOcspResponse.

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

Properties

  • readonly der: Uint8Array — Raw DER bytes.
  • readonly pem: string — PEM-encoded response (-----BEGIN OCSP RESPONSE-----).
  • readonly base64: string — Base64-encoded DER (no PEM armour).

Released under the MIT License.