mirror of
https://github.com/wader/fq.git
synced 2024-12-24 13:52:02 +03:00
0829c167cc
Basic support, can also do CER and DER but without any extra validation. No schema support. Redo format doc.md usage a bit, now format/<dir>/<format>.md instead. Related to #20
12 lines
1.0 KiB
Plaintext
12 lines
1.0 KiB
Plaintext
$ fq -d asn1_ber dv tc21.ber
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc21.ber (asn1_ber) 0x0-0x7.7 (8)
|
|
0x0|06 |. | class: "universal" (0) 0x0-0x0.1 (0.2)
|
|
0x0|06 |. | form: "primitive" (0) 0x0.2-0x0.2 (0.1)
|
|
0x0|06 |. | tag: "object_identifier" (0x6) 0x0.3-0x0.7 (0.5)
|
|
0x0| 06 | . | length: 6 0x1-0x1.7 (1)
|
|
| | | value[0:4]: 0x2-0x7.7 (6)
|
|
0x0| 80 | . | [0]: 3 oid 0x2-0x2.7 (1)
|
|
0x0| 80 | . | [1]: 8 oid 0x2-0x2.7 (1)
|
|
0x0| 80 51 | .Q | [2]: 81 oid 0x3-0x4.7 (2)
|
|
0x0| 80 80 01| | ...| | [3]: 1 oid 0x5-0x7.7 (3)
|