OPENSSL-ASN1PARSE(1SSL) OpenSSL OPENSSL-ASN1PARSE(1SSL) (NAME) openssl-asn1parse - ASN.1 (SYNOPSIS) 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] (DESCRIPTION) ASN.1 . ASN.1 . (OPTIONS) -help . -inform DER|PEM|B64 PEM . openssl-format-options(1) . -in filename . -out filename DER . . -strparse . -noout . -offset number . -length number . -i <<>> . -oid filename (OID) . <<>> . -dump (hex). -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 BEGIN END PEM . BEGIN END PEM . -item name ASN1_ITEM name. ASN.1 . (OUTPUT) : 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 ..... (self-signed) . (decimal) . "d=XX" . SET SEQUENCE . "hl=XX" ( ) . "l=XX" . -i . ASN.1 . BIT STRING . . "-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 (NOTES) OID OpenSSL ( 1.2.3.4). -oid OID . : OID (whitespace) . << >> (short name) . << >> (long name) . : "1.2.3.4 shortName A long name" OID . (EXAMPLES) : 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 (BUGS) . ASN.1 ( ). (SEE ALSO) openssl(1), ASN1_generate_nconf(3) (COPYRIGHT) 2000-2023 OpenSSL. . 2.0 ("") . . LICENSE . 3.5.7 2026-06-09 OPENSSL-ASN1PARSE(1SSL)