Compare commits

..

No commits in common. "master" and "v0.7.0" have entirely different histories.

3 changed files with 5 additions and 10 deletions

View File

@ -26,14 +26,11 @@ with nested structures.
There are only 3 methods needed to support all of the X.509 schemas
that most of us care about, and so that's all this library has:
```js
ASN1(type, hex1, hex2, ...)
ASN1.UInt(hex1, hex2, ...)
ASN1.BitStr(hex1, hex2, ...)
/*helper*/
ASN1.numToHex(num)
```
* ASN1(type, hex1, hex2, ...)
* ASN1.UInt(hex1, hex2, ...)
* ASN1.BitStr(hex1, hex2, ...)
* (helper) ASN1.numToHex(num)
Most ASN.1 types follow the same rules:

View File

@ -65,5 +65,3 @@ ASN1.numToHex = function (d) {
}
return d;
};
module.exports = ASN1;

View File

@ -1,6 +1,6 @@
{
"name": "uasn1",
"version": "0.7.1",
"version": "0.7.0",
"description": "An insanely minimal ASN.1 builder for X.509 common schemas, specifically SEC1/X9.62 PKCS#8, SPKI/PKIX, PKCS#1 and CSR.",
"homepage": "https://git.coolaj86.com/coolaj86/uasn1.js",
"main": "index.js",