JavaScript generic ASN.1 parser (mirror)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Be NodeJS-friendly.

+4 -2
+2 -1
oids.js
··· 2 2 // which is made by Peter Gutmann and whose license states: 3 3 // You can use this code in whatever way you want, 4 4 // as long as you don't try to claim you wrote it. 5 - oids = { 5 + var oids = { 6 6 "0.2.262.1.10": { "d": "Telesec", "c": "Deutsche Telekom", "w": false }, 7 7 "0.2.262.1.10.0": { "d": "extension", "c": "Telesec", "w": false }, 8 8 "0.2.262.1.10.1": { "d": "mechanism", "c": "Telesec", "w": false }, ··· 2241 2241 "2.16.840.1.114171.500.9": { "d": "Wells Fargo EV policy", "c": "Wells Fargo WellsSecure Public Root Certificate Authority", "w": false }, 2242 2242 "END": "" 2243 2243 }; 2244 + if (typeof module !== undefined) { module.exports = oids; }
+2 -1
update.sh
··· 25 25 print "// which is made by Peter Gutmann and whose license states:"; 26 26 print "// You can use this code in whatever way you want,"; 27 27 print "// as long as you don" apos "t try to claim you wrote it."; 28 - print "oids = {"; 28 + print "var oids = {"; 29 29 } 30 30 /^OID/ { oid = $2; } 31 31 /^Comment/ { comment = $2; } ··· 46 46 END { 47 47 print "\"END\": \"\"" 48 48 print "};" 49 + print "if (typeof module !== 'undefined') { module.exports = oids; }" 49 50 } 50 51 ' >oids.js 51 52 echo Conversion completed.