mirror of
https://github.com/wader/fq.git
synced 2024-12-23 21:31:33 +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
16 lines
1.4 KiB
Plaintext
16 lines
1.4 KiB
Plaintext
$ fq -d asn1_ber dv tc10.ber
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc10.ber (asn1_ber) 0x0-0x8.7 (9)
|
|
0x0|09 |. | class: "universal" (0) 0x0-0x0.1 (0.2)
|
|
0x0|09 |. | form: "primitive" (0) 0x0.2-0x0.2 (0.1)
|
|
0x0|09 |. | tag: "real" (0x9) 0x0.3-0x0.7 (0.5)
|
|
0x0| 07 | . | length: 7 0x1-0x1.7 (1)
|
|
0x0| 83 | . | binary_encoding: true 0x2-0x2 (0.1)
|
|
0x0| 83 | . | sign: 1 (false) 0x2.1-0x2.1 (0.1)
|
|
0x0| 83 | . | base: 2 (0) 0x2.2-0x2.3 (0.2)
|
|
0x0| 83 | . | scale: 0 0x2.4-0x2.5 (0.2)
|
|
0x0| 83 | . | format: 3 0x2.6-0x2.7 (0.2)
|
|
0x0| 04 | . | exp_bytes: 4 0x3-0x3.7 (1)
|
|
0x0| ff ff ff fb | .... | exp: -5 0x4-0x7.7 (4)
|
|
0x0| 05| | .| | n: 5 0x8-0x8.7 (1)
|
|
| | | value: 0.15625 0x9-NA (0)
|