1. Introduction (asn1)

1 Introduction

The ASN.1 application provides the following:

  • An ASN.1 compiler for Erlang, which generates encode and decode functions to be used by Erlang programs sending and receiving ASN.1 specified data.
  • Runtime functions used by the generated code.
  • Support for the following encoding rules:
    • Basic Encoding Rules (BER)
    • Distinguished Encoding Rules (DER), a specialized form of BER that is used in security-conscious applications
    • Packed Encoding Rules (PER), both the aligned and unaligned variant

1.1 Scope

This application covers all features of ASN.1 up to the 1997 edition of the specification. In the 2002 edition, new features were introduced. The following features of the 2002 edition are fully or partly supported:

  • Decimal notation (for example, "1.5e3) for REAL values. The NR1, NR2, and NR3 formats as explain