Class KJUR.asn1.x509.CRLEntry
Extends
KJUR.asn1.ASN1Object.
ASN.1 CRLEntry structure class for CRL
Defined in: asn1x509-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.x509.CRLEntry(params)
ASN.1 CRLEntry structure class for CRL (DEPRECATED)
This class is to represent revokedCertificate in TBSCertList. |
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified, params
Method Attributes | Method Name and Description |
---|---|
<static> |
KJUR.asn1.x509.CRLEntry.setCertSerial(intParam)
set DERInteger parameter for serial number of revoked certificate
|
<static> |
KJUR.asn1.x509.CRLEntry.setRevocationDate(timeParam)
set Time parameter for revocation date
|
- Methods borrowed from class KJUR.asn1.ASN1Object:
- getEncodedHex, getLengthHexFromValue, getValueHex, tohex
Class Detail
KJUR.asn1.x509.CRLEntry(params)
ASN.1 CRLEntry structure class for CRL (DEPRECATED)
This class is to represent revokedCertificate in TBSCertList. However this is no more used by TBSCertList since jsrsasign 9.1.0. So this class have been deprecated in jsrsasign 9.1.0.
This class is to represent revokedCertificate in TBSCertList. However this is no more used by TBSCertList since jsrsasign 9.1.0. So this class have been deprecated in jsrsasign 9.1.0.
revokedCertificates SEQUENCE OF SEQUENCE { userCertificate CertificateSerialNumber, revocationDate Time, crlEntryExtensions Extensions OPTIONAL -- if present, version MUST be v2 }
var e = new KJUR.asn1.x509.CRLEntry({'time': {'str': '130514235959Z'}, 'sn': {'int': 234}});
- Parameters:
- {Array} params
- JSON object for CRL entry parameter
- Deprecated:
- since jsrsasign 9.1.0 asn1x509 2.1.0
- Since:
- 1.0.3
Method Detail
<static>
KJUR.asn1.x509.CRLEntry.setCertSerial(intParam)
set DERInteger parameter for serial number of revoked certificate
entry.setCertSerial({'int': 3});
- Parameters:
- {Array} intParam
- DERInteger parameter for certificate serial number
<static>
KJUR.asn1.x509.CRLEntry.setRevocationDate(timeParam)
set Time parameter for revocation date
entry.setRevocationDate({'str': '130508235959Z'});
- Parameters:
- {Array} timeParam
- Time parameter for revocation date