Below an example of a DER encoded ROA eContent is provided with annotation following the '#' character.¶
$ echo 302402023CCA301E301C04020002301630090307002001067C208C30090307002A0EB2400000 \
| xxd -r -ps \
| openssl asn1parse -i -dump -inform DER
0:d=0 hl=2 l= 36 cons: SEQUENCE # RouteOriginAttestation
2:d=1 hl=2 l= 2 prim: INTEGER :3CCA # asID 15562
6:d=1 hl=2 l= 30 cons: SEQUENCE # ipAddrBlocks
8:d=2 hl=2 l= 28 cons: SEQUENCE # ROAIPAddressFamily
10:d=3 hl=2 l= 2 prim: OCTET STRING # addressFamily
0000 - 00 02 .. # IPv6
14:d=3 hl=2 l= 22 cons: SEQUENCE # addresses
16:d=4 hl=2 l= 9 cons: SEQUENCE # ROAIPAddress
18:d=5 hl=2 l= 7 prim: BIT STRING # address
0000 - 00 20 01 06 7c 20 8c . ..| . # 2001:67c:208c::/48
27:d=4 hl=2 l= 9 cons: SEQUENCE # ROAIPAddress
29:d=5 hl=2 l= 7 prim: BIT STRING # address
0000 - 00 2a 0e b2 40 .*..@ # 2a0e:b240::/48
0007 - <SPACES/NULS>
¶
Object
SHA256 hash: 13afbad09ed59b315efd8722d38b09fd02962e376e4def32247f9de905649b47
Size: 1807 octets
CMS signing time: Fri 17 Jun 2022 00:24:22 +0000
X.509 end-entity certificate
Subject key id: A3D964245749BB6DD5AB1F2E830E33A6C5146E8F
Authority key id: 38E14F92FDC7CCFBFC182361523AE27D697E952F
Issuer: /CN=38e14f92fdc7ccfbfc182361523ae27d697e952f
Serial: 86F9
Not before: Fri 17 Jun 2022 00:24:22 +0000
Not after: Sat 01 Jul 2023 00:00:00 +0000
IP address delegation: 2001:67c:208c::/48, 2a0e:b240::/48
eContent
asID: 15562
addresses: 2001:67c:208c::/48, 2a0e:b240::/48
¶