doc formatting

This commit is contained in:
AJ ONeal 2018-11-20 00:52:17 -07:00
parent 64e8b54253
commit dd778848f9
1 changed files with 7 additions and 4 deletions

View File

@ -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: