Erlang -- ASN.1

ASN.1

User's Guide

Version 5.0.8

- User's Guide
- Reference Manual
- Release Notes
- PDF
- Top

- Expand All
- Contract All

### Chapters

- Introduction
  - Top of chapter
  - Scope
  - Prerequisites
- ASN.1
  - Top of chapter
  - Introduction
- Getting Started
  - Top of chapter
  - Example
  - ASN.1 Application User Interface
  - Multi-File Compilation
  - Remark about Tags
  - ASN.1 Types
  - Naming of Records in .hrl Files
  - ASN.1 Values
  - Macros
  - ASN.1 Information Objects (X.681)
  - Parameterization (X.683)
- Specialized Decodes
  - Top of chapter
  - Exclusive Decode
  - Selective Decode
  - Performance

# 2 ASN.1

### 2.1 Introduction

ASN.1 is a formal language for describing data structures to be exchanged between distributed computer systems. The purpose of ASN.1 is to have a platform and programming language independent notation to express types using a standardized set of rules for the transformation of values of a defined type into a stream of bytes. This stream of bytes can then be sent on any type of communication channel. This way, two applications written in different programming languages running on different computers, and with different internal representation of data, can exchange instances of structured data types.