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
|
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
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
|
Class Detail
KJUR.asn1.x509.CRLEntry(params)
ASN.1 CRLEntry structure class for CRL
var e = new KJUR.asn1.x509.CRLEntry({'time': {'str': '130514235959Z'}, 'sn': {'int': 234}}); // revokedCertificates SEQUENCE OF SEQUENCE { // userCertificate CertificateSerialNumber, // revocationDate Time, // crlEntryExtensions Extensions OPTIONAL // -- if present, version MUST be v2 }
- Parameters:
- {Array} params
- associative array of parameters (ex. {})
- 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