ASN1PARSER(1) User Commands ASN1PARSER(1)

# [NAME](#NAME)

asn1Parser - ASN.1 syntax tree generator for libtasn1

# [SYNOPSIS](#SYNOPSIS)

**asn1Parser** \[*OPTION*] *FILE*

# [DESCRIPTION](#DESCRIPTION)

Read FILE with ASN.1 definitions and generate a C array that is used with libtasn1 functions.

Mandatory arguments to long options are mandatory for short options too.

[**-c**, **--check**](#c)

checks the syntax only

[**-o**, **--output**=*FILE*](#o)

output file

[**-n**, **--name**=*NAME*](#n)

array name

[**-h**, **--help**](#h)

display this help and exit

[**-v**, **--version**](#v)

output version information and exit

# [AUTHOR](#AUTHOR)

Written by Fabio Fiorina.

# [REPORTING BUGS](#REPORTING_BUGS)

Report bugs to: help-libtasn1@gnu.org  
GNU Libtasn1 home page: &lt;https://www.gnu.org/software/libtasn1/&gt;  
General help using GNU software: &lt;https://www.gnu.org/gethelp/&gt;

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later &lt;https://gnu.org/licenses/gpl.html&gt;.  
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

# [SEE ALSO](#SEE_ALSO)

The full documentation for **asn1Parser** is maintained as a Texinfo manual. If the **info** and **asn1Parser** programs are properly installed at your site, the command

**info libtasn1**

should give you access to the complete manual.

January 2026 libtasn1 4.21.0

---

Document: asn1Parser(1) from libtasn1 4.21.0-r8 (Chainguard OS)
Source: https://gitlab.com/gnutls/libtasn1
