Overview#Canonical Encoding Rules (CER) 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, Canonical Encoding Rules (together with DER) selects just one encoding from those allowed by the Basic Encoding Rules, eliminating rest of the options. Canonical Encoding Rules is useful when the encodings must be preserved, e.g. in security exchanges.
Canonical Encoding Rules was designed for use with messages so huge that it is easiest to start encoding them before their entire value is fully available.
Canonical Encoding Rules is rarely used, as the industry has locked onto Distinguished Encoding Rules as the preferred means of encoding values for use in secure exchanges.
More Information#There might be more information for this subject on one of the following:
- [#1] - http://en.wikipedia.org/wiki/Canonical_Encoding_Rules#CER_encoding Retrived 2012-12-28