UNPKG

@peculiar/asn1-x509

Version:

ASN.1 schema of `Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile` (RFC5280)

41 lines (40 loc) 984 B
/** * ```asn1 * id-ce-cRLReasons OBJECT IDENTIFIER ::= { id-ce 21 } * ``` */ export declare const id_ce_cRLReasons = "2.5.29.21"; export declare enum CRLReasons { unspecified = 0, keyCompromise = 1, cACompromise = 2, affiliationChanged = 3, superseded = 4, cessationOfOperation = 5, certificateHold = 6, removeFromCRL = 8, privilegeWithdrawn = 9, aACompromise = 10 } /** * ```asn1 * CRLReason ::= ENUMERATED { * unspecified (0), * keyCompromise (1), * cACompromise (2), * affiliationChanged (3), * superseded (4), * cessationOfOperation (5), * certificateHold (6), * -- value 7 is not used * removeFromCRL (8), * privilegeWithdrawn (9), * aACompromise (10) } * ``` */ export declare class CRLReason { reason: CRLReasons; constructor(reason?: CRLReasons); toJSON(): string; toString(): string; }