Skip to content

parseCertificateRevocationListPem

Decodes a PEM-encoded X.509 CRL (-----BEGIN X509 CRL-----).

Returns a typed failure (code: 'malformed') on malformed input. For the throwing form use parseCertificateRevocationListPemOrThrow.

ts
function parseCertificateRevocationListPem(
	pem: string,
): ParseCertificateRevocationListResult

Parameters

  • pem: string

Released under the MIT License.