revocationReasonFromCode
revocationReasonFromCode
Maps an integer CRLReason code to its RevocationReason name, or to an UnrecognizedRevocationReason carrying a code outside RFC 5280 §5.3.1. Returns undefined only when code is undefined.
ts
function revocationReasonFromCode(
code: bigint | undefined,
): ParsedRevocationReason | undefinedParameters
code:bigint|undefined