Socket
Socket
Sign inDemoInstall

asn1.js-rfc5280

Package Overview
Dependencies
4
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc