categorizePemBlocksOrThrow
Groups PEM blocks by label into well-known PKI categories (certificates, CSRs, private keys, public keys, and everything else). Accepts either raw PEM text or pre-split PemBlock entries.
ts
function categorizePemBlocksOrThrow(
input: string | readonly PemBlock[],
): CategorizedPemBlocksParameters
input:string|readonlyPemBlock[]