PemBlock
A single decoded PEM block with its label, decoded DER bytes, and original PEM text.
ts
interface PemBlock {
readonly label: string;
readonly bytes: Uint8Array;
readonly pem: string;
}Properties
readonlylabel:string— RFC 7468 label between theBEGIN/ENDmarkers (e.g."CERTIFICATE").readonlybytes:Uint8Array— Decoded DER content of this block.readonlypem:string— The original PEM text includingBEGIN/ENDlines.