Canonical Encoding Rules

related topics
{math, number, function}
{system, computer, user}

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.

See also

External links

References

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.


Full article ▸

related documents
Centralizer and normalizer
Fibonacci
Simple module
Liouville function
Euler's sum of powers conjecture
RIPEMD
Cfront
Tomaž Pisanski
List of basic mathematics topics
Face (geometry)
XBasic
Sequential access
Elementary event
XPointer
Euler-Jacobi pseudoprime
Pedal triangle
Star height problem
Landau's function
Cypherpunk anonymous remailer
Binary symmetric channel
Location parameter
Unknot
Persistence
FIPS county code
Entropy encoding
Central moment
Randomization
Code word
Mrs. Miniver's problem
Namespace