Skip to content

Pkcs7SignedDataMaterial ​

Pkcs7SignedDataMaterial ​

DER, PEM, and base64 encodings of a PKCS#7/CMS SignedData structure.

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

Properties

  • readonly der: Uint8Array — Raw DER-encoded SignedData ContentInfo.
  • readonly pem: string — PEM-armored ContentInfo. A version 1 SignedData carries the PKCS7 label; a version 3 one is outside RFC 2315, whose SignedData version "shall be 1", so it carries the RFC 7468 Section 9 CMS label.
  • readonly base64: string — Base64-encoded DER (no PEM armor).

Released under the MIT License.