Abstract Syntax Notation One
Back to current versionRestore this version

Overview#

Abstract Syntax Notation One (ASN.1) is defined in X.208 is a mechanism for encoding data in a binary form.

Abstract Syntax Notation One uses a TLV structure, in which each element has a type, length, and value. The type component is a data type that indicates what kind of information is stored in the element and indicates how the value should be encoded. The length component specifies the number of bytes in the value, and the value is the actual data held by the element.

Examples of ASN.1 elements include:

Note that ASN.1 is a general framework for binary encoding, but doesn't actually define how the data should be encoded. There are a number of different kinds of ASN.1 encoding rules:

LDAP uses the Basic Encoding Rules (BER) encoding.

The book ASN.1 Complete (PDF) by Professor John Larmouth, which is an excellent reference on the Abstract Syntax Notation One.

More Information#

There might be more information for this subject on one of the following: