`
under' utility
decodes binary DER data to S-expressions and/or encodes those back to
DER.
Aren't you curious of how
iteratees may look in C?
$ echo '(p1 (p2 "48 45 4c 4c 4f") (p3 ""))' | under -e | hexdump -C
00000000 e1 09 c2 05 48 45 4c 4c 4f c3 00 |....HELLO..|
0000000b
$ ^hexdump -C^openssl asn1parse -inform DER -i
0:d=0 hl=2 l= 9 cons: priv [ 1 ]
2:d=1 hl=2 l= 5 prim: priv [ 2 ]
9:d=1 hl=2 l= 0 prim: priv [ 3 ]
Homepage:
http://github.com/vvv/under.c
Tag: implemented-in::c, interface::commandline, role::program, scope::utility, works-with-format::der