OpenSSL "ans1parse" Command Options

Q

What can I use OpenSSL "ans1parse" command for? What are options supported by the "ans1parse" command?

✍: FYIcenter.com

A

OpenSSL "ans1parse" command is a diagnostic utility that can parse ASN.1 file structures. It can also be used to extract data from ASN.1 files.

Here are options supported by the "ans1parse" command:

C:\Users\fyicenter>\local\openssl\openssl.exe

OpenSSL> asn1parse -help

unknown option -help
asn1parse [options] <infile
where options are
 -inform arg   input format - one of DER PEM
 -in arg       input file
 -out arg      output file (output format is always DER
 -noout arg    don't produce any output
 -offset arg   offset into file
 -length arg   length of section in file
 -i            indent entries
 -dump         dump unknown data in hex form
 -dlimit arg   dump the first arg bytes of unknown data in hex form
 -oid file     file of extra oid definitions
 -strparse offset
               a series of these can be used to 'dig' into multiple
               ASN1 blob wrappings
 -genstr str   string to generate ASN1 structure from
 -genconf file file to generate ASN1 structure from

 

ASN.1 File Structure Supported by OpenSSL

OpenSSL "ans1parse" Command

OpenSSL "ans1parse" Command

⇑⇑ OpenSSL Tutorials

2016-10-17, 7161🔥, 0💬