asn1.js-rfc5280
Advanced tools
Comparing version 1.2.1 to 1.2.2
18
index.js
@@ -51,3 +51,3 @@ try { | ||
}); | ||
rfc5280.CerficateList = CertificateList; | ||
rfc5280.CertificateList = CertificateList; | ||
@@ -167,9 +167,3 @@ // AlgorithmIdentifier ::= SEQUENCE { | ||
this.key('nextUpdate').use(Time), | ||
this.key('revokedCertificates').optional().seq().obj( | ||
this.seq().obj( | ||
this.key('userCertificate').int(), | ||
this.key('revocationDate').use(Time), | ||
this.key('crlEntryExtensions').optional().seqof(Extension) | ||
) | ||
), | ||
this.key('revokedCertificates').optional().seqof(RevokedCertificate), | ||
this.key('crlExtensions').explicit(0).optional().seqof(Extension) | ||
@@ -180,2 +174,10 @@ ); | ||
var RevokedCertificate = asn1.define('RevokedCertificate', function() { | ||
this.seq().obj( | ||
this.key('userCertificate').use(CertificateSerialNumber), | ||
this.key('revocationDate').use(Time), | ||
this.key('crlEntryExtensions').optional().seqof(Extension) | ||
) | ||
}); | ||
// Extension ::= SEQUENCE { | ||
@@ -182,0 +184,0 @@ // extnID OBJECT IDENTIFIER, |
{ | ||
"name": "asn1.js-rfc5280", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "RFC5280 extension structures for asn1.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
32100
798