CategorizedPemBlocks
CategorizedPemBlocks
PEM blocks grouped by their label into well-known PKI categories. Blocks that don't match any known label land in others.
ts
interface CategorizedPemBlocks {
readonly certificates: readonly PemBlock[];
readonly certificateRequests: readonly PemBlock[];
readonly privateKeys: readonly PemBlock[];
readonly publicKeys: readonly PemBlock[];
readonly others: readonly PemBlock[];
}Properties
readonlycertificates:readonlyPemBlock[]— Blocks with labelCERTIFICATE.readonlycertificateRequests:readonlyPemBlock[]— Blocks with labelCERTIFICATE REQUEST.readonlyprivateKeys:readonlyPemBlock[]— Blocks with labelPRIVATE KEY,RSA PRIVATE KEY, orEC PRIVATE KEY.readonlypublicKeys:readonlyPemBlock[]— Blocks with labelPUBLIC KEY.readonlyothers:readonlyPemBlock[]— Blocks whose label doesn't match any of the above categories.