doc formatting
This commit is contained in:
parent
64e8b54253
commit
dd778848f9
11
README.md
11
README.md
@ -26,11 +26,14 @@ with nested structures.
|
|||||||
There are only 3 methods needed to support all of the X.509 schemas
|
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:
|
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, ...)
|
/*helper*/
|
||||||
* ASN1.UInt(hex1, hex2, ...)
|
ASN1.numToHex(num)
|
||||||
* ASN1.BitStr(hex1, hex2, ...)
|
```
|
||||||
* (helper) ASN1.numToHex(num)
|
|
||||||
|
|
||||||
Most ASN.1 types follow the same rules:
|
Most ASN.1 types follow the same rules:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user