mirror of
https://github.com/wader/fq.git
synced 2024-11-23 09:56:07 +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
75 lines
8.9 KiB
Plaintext
75 lines
8.9 KiB
Plaintext
$ fq -d asn1_ber dv openssl.rsa.key.der
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: openssl.rsa.key.der (asn1_ber) 0x0-0x260.7 (609)
|
|
0x000|30 |0 | class: "universal" (0) 0x0-0x0.1 (0.2)
|
|
0x000|30 |0 | form: "constructed" (1) 0x0.2-0x0.2 (0.1)
|
|
0x000|30 |0 | tag: "sequence" (0x10) 0x0.3-0x0.7 (0.5)
|
|
0x000| 82 02 5d | ..] | length: 605 0x1-0x3.7 (3)
|
|
| | | constructed[0:9]: 0x4-0x260.7 (605)
|
|
| | | [0]{}: object 0x4-0x6.7 (3)
|
|
0x000| 02 | . | class: "universal" (0) 0x4-0x4.1 (0.2)
|
|
0x000| 02 | . | form: "primitive" (0) 0x4.2-0x4.2 (0.1)
|
|
0x000| 02 | . | tag: "integer" (0x2) 0x4.3-0x4.7 (0.5)
|
|
0x000| 01 | . | length: 1 0x5-0x5.7 (1)
|
|
0x000| 00 | . | value: 0 0x6-0x6.7 (1)
|
|
| | | [1]{}: object 0x7-0x8a.7 (132)
|
|
0x000| 02 | . | class: "universal" (0) 0x7-0x7.1 (0.2)
|
|
0x000| 02 | . | form: "primitive" (0) 0x7.2-0x7.2 (0.1)
|
|
0x000| 02 | . | tag: "integer" (0x2) 0x7.3-0x7.7 (0.5)
|
|
0x000| 81 81 | .. | length: 129 0x8-0x9.7 (2)
|
|
0x000| 00 c8 9c ae f3 cf| ......| value: 140874568468322848849180080295716055473391012329133676844091970322504607002396348602109669476646264833477712206064675084499111472430777124510906866167819796189175395315010168014638998198401874878669002908243106997519079413079140242074725120590298671209684697146044155303080323202401088254507821347042989436183 0xa-0x8a.7 (129)
|
|
0x010|59 56 6e 6c fd e5 95 4e 0f 2d 05 89 31 f5 ab 8d|YVnl...N.-..1...|
|
|
* |until 0x8a.7 (129) | |
|
|
| | | [2]{}: object 0x8b-0x8f.7 (5)
|
|
0x080| 02 | . | class: "universal" (0) 0x8b-0x8b.1 (0.2)
|
|
0x080| 02 | . | form: "primitive" (0) 0x8b.2-0x8b.2 (0.1)
|
|
0x080| 02 | . | tag: "integer" (0x2) 0x8b.3-0x8b.7 (0.5)
|
|
0x080| 03 | . | length: 3 0x8c-0x8c.7 (1)
|
|
0x080| 01 00 01| ...| value: 65537 0x8d-0x8f.7 (3)
|
|
| | | [3]{}: object 0x90-0x113.7 (132)
|
|
0x090|02 |. | class: "universal" (0) 0x90-0x90.1 (0.2)
|
|
0x090|02 |. | form: "primitive" (0) 0x90.2-0x90.2 (0.1)
|
|
0x090|02 |. | tag: "integer" (0x2) 0x90.3-0x90.7 (0.5)
|
|
0x090| 81 81 | .. | length: 129 0x91-0x92.7 (2)
|
|
0x090| 00 ad ec 39 39 a3 40 7e d0 89 a9 ad 8b| ...99.@~.....| value: 122132707191863643833448491725925734163711041679001438133079292152281409900699692309301115405405915365496386043367604695837015970224024515318990895554010464789522511375622928126213405612602768277179789406664987051391584527300257344464000027271751491024923146711928786025340329143022436281624616672535582585025 0x93-0x113.7 (129)
|
|
0x0a0|3d fb a6 3a b0 71 21 de 33 86 59 38 9d 4e 59 62|=..:.q!.3.Y8.NYb|
|
|
* |until 0x113.7 (129) | |
|
|
| | | [4]{}: object 0x114-0x156.7 (67)
|
|
0x110| 02 | . | class: "universal" (0) 0x114-0x114.1 (0.2)
|
|
0x110| 02 | . | form: "primitive" (0) 0x114.2-0x114.2 (0.1)
|
|
0x110| 02 | . | tag: "integer" (0x2) 0x114.3-0x114.7 (0.5)
|
|
0x110| 41 | A | length: 65 0x115-0x115.7 (1)
|
|
0x110| 00 e6 af 83 cc 5c 2c 71 b2 ac| .....\,q..| value: 12081985475751749236571794066071043662466425762985809175048795658965864740983561571225287405335719328583420338385382007277303022316888740387757118441481617 0x116-0x156.7 (65)
|
|
0x120|06 ee 0c 9d 88 ec 02 3d 9b 98 dd f4 09 3d 0c dc|.......=.....=..|
|
|
* |until 0x156.7 (65) | |
|
|
| | | [5]{}: object 0x157-0x199.7 (67)
|
|
0x150| 02 | . | class: "universal" (0) 0x157-0x157.1 (0.2)
|
|
0x150| 02 | . | form: "primitive" (0) 0x157.2-0x157.2 (0.1)
|
|
0x150| 02 | . | tag: "integer" (0x2) 0x157.3-0x157.7 (0.5)
|
|
0x150| 41 | A | length: 65 0x158-0x158.7 (1)
|
|
0x150| 00 de a0 55 68 3f f3| ...Uh?.| value: 11659885600016212463693053528634923638428971532746105950386770337354432587762435552258721021790076923957260154767602393593066715506087355090619950869263399 0x159-0x199.7 (65)
|
|
0x160|b1 fe a6 e7 6f a8 6e 7d a8 62 3d fe a3 ef 19 ea|....o.n}.b=.....|
|
|
* |until 0x199.7 (65) | |
|
|
| | | [6]{}: object 0x19a-0x1db.7 (66)
|
|
0x190| 02 | . | class: "universal" (0) 0x19a-0x19a.1 (0.2)
|
|
0x190| 02 | . | form: "primitive" (0) 0x19a.2-0x19a.2 (0.1)
|
|
0x190| 02 | . | tag: "integer" (0x2) 0x19a.3-0x19a.7 (0.5)
|
|
0x190| 40 | @ | length: 64 0x19b-0x19b.7 (1)
|
|
0x190| 35 43 79 4f| 5CyO| value: 2789639504693157597201647738037856976981582230579691844863792604352830695035830961072082167592964354183504227542420320339962911541559125677823835638746049 0x19c-0x1db.7 (64)
|
|
0x1a0|0a 49 48 c7 54 69 15 35 dc 79 ec e4 67 8d 31 b2|.IH.Ti.5.y..g.1.|
|
|
* |until 0x1db.7 (64) | |
|
|
| | | [7]{}: object 0x1dc-0x21d.7 (66)
|
|
0x1d0| 02 | . | class: "universal" (0) 0x1dc-0x1dc.1 (0.2)
|
|
0x1d0| 02 | . | form: "primitive" (0) 0x1dc.2-0x1dc.2 (0.1)
|
|
0x1d0| 02 | . | tag: "integer" (0x2) 0x1dc.3-0x1dc.7 (0.5)
|
|
0x1d0| 40 | @ | length: 64 0x1dd-0x1dd.7 (1)
|
|
0x1d0| 4b c1| K.| value: 3967638261836238371497303610816598746671414531513052303272584422438335614075866689822874673954262561319115289248398629469139277392942217463050117099278927 0x1de-0x21d.7 (64)
|
|
0x1e0|69 6e b1 1c 5e fc 55 95 39 94 aa 0c 8e 68 e7 c9|in..^.U.9....h..|
|
|
* |until 0x21d.7 (64) | |
|
|
| | | [8]{}: object 0x21e-0x260.7 (67)
|
|
0x210| 02 | . | class: "universal" (0) 0x21e-0x21e.1 (0.2)
|
|
0x210| 02 | . | form: "primitive" (0) 0x21e.2-0x21e.2 (0.1)
|
|
0x210| 02 | . | tag: "integer" (0x2) 0x21e.3-0x21e.7 (0.5)
|
|
0x210| 41| A| length: 65 0x21f-0x21f.7 (1)
|
|
0x220|00 b2 1c 76 7a bc d3 9f c7 24 f0 1e de 9c 33 07|...vz....$....3.| value: 9328439569788175995398063780840446593404475344027436154565657980938183918994797944613750235675880941897457018303545042575095777738810628775577987827595418 0x220-0x260.7 (65)
|
|
* |until 0x260.7 (end) (65) | |
|