diff --git a/README.md b/README.md index 9cc6f70..8fc2b0c 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,14 @@ 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, ...) -* ASN1(type, hex1, hex2, ...) -* ASN1.UInt(hex1, hex2, ...) -* ASN1.BitStr(hex1, hex2, ...) -* (helper) ASN1.numToHex(num) +/*helper*/ +ASN1.numToHex(num) +``` Most ASN.1 types follow the same rules: