Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
a7722dea19 |
@ -18,9 +18,12 @@ var PEM = exports.PEM;
|
|||||||
// Parser
|
// Parser
|
||||||
//
|
//
|
||||||
|
|
||||||
ASN1.ELOOPN = 20; // I've seen 9 max in https certificates
|
// Although I've only seen 9 max in https certificates themselves,
|
||||||
|
// but each domain list could have up to 100
|
||||||
|
ASN1.ELOOPN = 102;
|
||||||
ASN1.ELOOP = "uASN1.js Error: iterated over " + ASN1.ELOOPN + "+ elements (probably a malformed file)";
|
ASN1.ELOOP = "uASN1.js Error: iterated over " + ASN1.ELOOPN + "+ elements (probably a malformed file)";
|
||||||
ASN1.EDEEPN = 60; // I've seen 29 deep in https certificates
|
// I've seen https certificates go 29 deep
|
||||||
|
ASN1.EDEEPN = 60;
|
||||||
ASN1.EDEEP = "uASN1.js Error: element nested " + ASN1.EDEEPN + "+ layers deep (probably a malformed file)";
|
ASN1.EDEEP = "uASN1.js Error: element nested " + ASN1.EDEEPN + "+ layers deep (probably a malformed file)";
|
||||||
// Container Types are Sequence 0x30, Container Array? (0xA0, 0xA1)
|
// Container Types are Sequence 0x30, Container Array? (0xA0, 0xA1)
|
||||||
// Value Types are Boolean 0x01, Integer 0x02, Null 0x05, Object ID 0x06, String 0x0C, 0x16, 0x13, 0x1e Value Array? (0x82)
|
// Value Types are Boolean 0x01, Integer 0x02, Null 0x05, Object ID 0x06, String 0x0C, 0x16, 0x13, 0x1e Value Array? (0x82)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cert-info",
|
"name": "cert-info",
|
||||||
"version": "1.5.0",
|
"version": "1.5.1",
|
||||||
"description": "Read basic info (subject, altnames, expiresAt, issuedAt) from a cert.pem / x509 certificate (tls / ssl / https) ",
|
"description": "Read basic info (subject, altnames, expiresAt, issuedAt) from a cert.pem / x509 certificate (tls / ssl / https) ",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",
|
"author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user