A PEM object.
PEMObject(label?: string,data?: string | Uint8Array,)
Create a new PEM object.
The binary data of the PEM object.
encapsulatedTextPortion: string
postEncapsulationBoundary: string
Get the post-encapsulation boundary of the PEM object.
preEncapsulationBoundary: string
Get the pre-encapsulation boundary of the PEM object.
base64LineRegex: RegExp
The regular expression to match a base64 line.
pemObjectRegex: RegExp
The regular expression to match a PEM object.
postEncapsulationBoundaryRegex: RegExp
The regular expression to match the post-encapsulation boundary.
preEncapsulationBoundaryRegex: RegExp
The regular expression to match the pre-encapsulation boundary.
validateLabel(label: string): void
From RFC 7468: "Labels are formally case-sensitive, uppercase, and comprised of zero or more characters; they do not contain consecutive spaces or hyphen-minuses, nor do they contain spaces or hyphen-minuses at either end."