Canonical Encoding Rules

Canonical Encoding Rules

Canonical Encoding Rules (CER) is a message transfer syntax specified by the ITU in X.690. It is a restricted variant of Basic Encoding Rules for producing unequivocal transfer syntax for data structures described by ASN.1.

Whereas BER gives choices as to how data values may be encoded, CER and DER select just one encoding from those allowed by the basic encoding rules, eliminating all of the options. They are useful when the encodings must be preserved, e.g. in security exchanges.

CER and DER differ in the set of restrictions that they place on the encoder. The basic difference between CER and DER is that DER uses definitive length form and CER uses indefinite length form in some precisely defined cases. That is, DER always has leading length information, while CER uses the end-of-contents octet instead of providing the length of the encoded data. Because of this, CER requires less metadata for large encoded values, while DER does it for small ones.

Documents: ITU-T X.690, ISO 8825-1.

ee also

*Packed Encoding Rules

External links

* [http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf CER standard in PDF]

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Basic Encoding Rules — The Basic Encoding Rules (BER) is one of the encoding formats defined as part of the ASN.1 standard specified by the ITU in X.690.DescriptionThe Basic Encoding Rules were the original rules laid out by the ASN.1 standard for encoding abstract… …   Wikipedia

  • Distinguished Encoding Rules — Die Abstract Syntax Notation One (ASN.1) ist eine Beschreibungssprache zur Definition von Datenstrukturen sowie Festlegungen zur Umsetzung von Datenstrukturen und Elementen in ein netzeinheitliches Format. Sie ist gemeinsamer Standard der ITU T… …   Deutsch Wikipedia

  • Basic encoding rules — Le codage Basic Encoding Rules (règles d encodage basiques) ou son acronyme BER est un des format d encodage définie par le standard ASN.1. Sommaire 1 Description 2 Comparaison par rapport à des formats alternatifs 3 Utilisation …   Wikipédia en Français

  • Basic Encoding Rules — Le codage Basic Encoding Rules (règles d encodage basique), dont l acronyme est BER, est un des formats d encodage définie par le standard ASN.1. Sommaire 1 Description 2 Comparaison par rapport à des formats alternatifs 3 Utilisation …   Wikipédia en Français

  • Distinguished Encoding Rules — (DER), is a message transfer syntax specified by the ITU in X.690. The Distinguished Encoding Rules of ASN.1 is an International Standard drawn from the constraints placed on basic encoding rules (BER) encodings by X.509. DER encodings are valid… …   Wikipedia

  • Packed Encoding Rules — (PER) are ASN.1 encoding rules for producing a compact transfer syntax for data structures described in ASN.1, defined in 1994. PER provides a much more compact encoding than BER. It uses additional information, such as the lower and upper limits …   Wikipedia

  • XML Encoding Rules — (XER), defined in ITU T standard X.693, are a set of ASN.1 encoding rules for producing an XML based verbose textual transfer syntax for data structures described in ASN.1. XER allows some flexibility with respect to, for example, white space… …   Wikipedia

  • Canonical Huffman code — A canonical Huffman code is a particular type of Huffman code which has the property that it can be very compactly described.Data compressors generally work in one of two ways. Either the decompressor can infer what codebook the compressor has… …   Wikipedia

  • X.690 — – один из стандартов ASN.1, разработанных совместно организациями ISO, IEC и ITU T для удобства представления данных при их передаче в телекоммуникационных сетях. Правила кодирования, описанные в X.690, служат для представления структур данных,… …   Википедия

  • ASN.1 — Die Abstract Syntax Notation One (ASN.1) ist eine Beschreibungssprache zur Definition von Datenstrukturen sowie Festlegungen zur Umsetzung von Datenstrukturen und Elementen in ein netzeinheitliches Format. Sie ist gemeinsamer Standard der ITU T… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”