OPENSSL-ASN1PARSE(1ssl) OpenSSL OPENSSL-ASN1PARSE(1ssl) openssl-asn1parse - ASN.1 openssl asn1parse [-help] [-inform DER|PEM|B64] [-in filename] [-out filename] [-noout] [-offset number] [-length number] [-i] [-oid filename] [-dump] [-dlimit num] [-strparse offset] [-genstr string] [-genconf file] [-strictpem] [-item name] ASN.1. ASN.1. -help . -inform DER|PEM|B64 PEM. openssl-format-options(1) . -in _ . -out _ DER . . -strparse. -noout . -offset number . -length number . -i "" . -oid filename (OIDs). . -dump . -dlimit num -dump num . -strparse offset ASN.1 offset. "" . -genstr string, -genconf file string file ASN1_generate_nconf(3). file asn1. ASN1 -out. -strictpem -inform. PEM base64 PEM BEGIN END . BEGIN END PEM. -item name ASN1_ITEM name. ASN.1 . : 0:d=0 hl=4 l= 681 cons: SEQUENCE ..... 229:d=3 hl=3 l= 141 prim: BIT STRING 373:d=2 hl=3 l= 162 cons: cont [ 3 ] 376:d=3 hl=3 l= 159 cons: SEQUENCE 379:d=4 hl=2 l= 29 cons: SEQUENCE 381:d=5 hl=2 l= 3 prim: OBJECT :X509v3 Subject Key Identifier 386:d=5 hl=2 l= 22 prim: OCTET STRING 410:d=4 hl=2 l= 112 cons: SEQUENCE 412:d=5 hl=2 l= 3 prim: OBJECT :X509v3 Authority Key Identifier 417:d=5 hl=2 l= 105 prim: OCTET STRING 524:d=4 hl=2 l= 12 cons: SEQUENCE ..... . . "d=XX" . SET SEQUENCE. "hl=XX" ( ) . "l=XX" . -i . ASN.1 . BIT STRING 229 . . "-strparse 229" : 0:d=0 hl=3 l= 137 cons: SEQUENCE 3:d=1 hl=3 l= 129 prim: INTEGER :E5D21E1F5C8D208EA7A2166C7FAF9F6BDF2059669C60876DDB70840F1A5AAFA59699FE471F379F1DD6A487E7D5409AB6A88D4A9746E24B91D8CF55DB3521015460C8EDE44EE8A4189F7A7BE77D6CD3A9AF2696F486855CF58BF0EDF2B4068058C7A947F52548DDF7E15E96B385F86422BEA9064A3EE9E1158A56E4A6F47E5897 135:d=1 hl=2 l= 3 prim: INTEGER :010001 OID OpenSSL' ( 1.2.3.4). -oid OIDs . OID . " " . " ". : "1.2.3.4 shortName A long name" OID . : openssl asn1parse -in file.pem DER: openssl asn1parse -inform DER -in file.der UTF8String : openssl asn1parse -genstr 'UTF8:Hello World' UTF8String : openssl asn1parse -genstr 'UTF8:Hello World' -noout -out utf8.der : openssl asn1parse -genconf asn1.cnf -noout -out asn1.der : asn1=SEQUENCE:seq_sect [seq_sect] field1=BOOL:TRUE field2=EXP:0, UTF8:some random string . ASN.1 ( ). openssl(1), ASN1_generate_nconf(3) 2000-2023 OpenSSL. . Apache 2.0 ( ""). . LICENSE . 3 . . : . 3.6.2 7 2026 OPENSSL-ASN1PARSE(1ssl)