Class Index | File Index

Classes


Class KJUR.asn1.x509.CRLReason


Extends KJUR.asn1.x509.Extension.
CRLReason CRL entry extension ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
CRLReason CRL entry extension ASN.1 structure class
This class represents ASN.1 structure for CRLReason CRL entry extension defined in RFC 5280 5.3.1
id-ce-cRLReasons OBJECT IDENTIFIER ::= { id-ce 21 }
-- reasonCode ::= { CRLReason }
CRLReason ::= ENUMERATED {
     unspecified             (0),
     keyCompromise           (1),
     cACompromise            (2),
     affiliationChanged      (3),
     superseded              (4),
     cessationOfOperation    (5),
     certificateHold         (6),
     removeFromCRL           (8),
     privilegeWithdrawn      (9),
     aACompromise           (10) }
Constructor of this class may have following parameters:
  • {String}extname - name "cRLReason".
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified, params
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex, tohex
Class Detail
KJUR.asn1.x509.CRLReason()
CRLReason CRL entry extension ASN.1 structure class
This class represents ASN.1 structure for CRLReason CRL entry extension defined in RFC 5280 5.3.1
id-ce-cRLReasons OBJECT IDENTIFIER ::= { id-ce 21 }
-- reasonCode ::= { CRLReason }
CRLReason ::= ENUMERATED {
     unspecified             (0),
     keyCompromise           (1),
     cACompromise            (2),
     affiliationChanged      (3),
     superseded              (4),
     cessationOfOperation    (5),
     certificateHold         (6),
     removeFromCRL           (8),
     privilegeWithdrawn      (9),
     aACompromise           (10) }
Constructor of this class may have following parameters:
  • {String}extname - name "cRLReason". It is ignored in this class but required to use with KJUR.asn1.x509.Extensions class. (OPTION)
  • {Integer}code - reasonCode value
  • {Boolean}critical - critical flag. Generally false and not specified in this class.(OPTION)
new KJUR.asn1.x509.CRLReason({extname:'cRLReason',code:4})
Since:
jsrsasign 9.1.0 asn1x509 2.1.0
See:
KJUR.asn1.x509.TBSCertList
KJUR.asn1.x509.Extensions

© 2012-2023 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0