asn1.codecs

Modules

baper
module asn1.codecs.baper

Packed Encoding Rules (PER) is a standard for encoding ASN.1 data. It is not widely used in many protocols, but it is used for a particularly popular one: Microsoft's Remote Desktop Protocol (RDP).

ber
module asn1.codecs.ber

Basic Encoding Rules (BER) is a standard for encoding ASN.1 data. It is by far the most common standard for doing so, being used in LDAP, TLS, SNMP, RDP, and other protocols. Like Distinguished Encoding Rules (DER), Canonical Encoding Rules (CER), and Packed Encoding Rules (PER), Basic Encoding Rules is a specification created by the https://www.itu.int/en/pages/default.aspx, International Telecommunications Union, and specified in http://www.itu.int/rec/T-REC-X.690/en, X.690 - ASN.1 encoding rules

cer
module asn1.codecs.cer

Canonical Encoding Rules (CER) is a standard for encoding ASN.1 data. CER is often used for cryptgraphically-signed data, such as X.509 certificates, because CER's defining feature is that there is only one way to encode each data type, which means that two encodings of the same data could not have different cryptographic signatures. For this reason, CER is generally regarded as the most secure encoding standard for ASN.1. Like Basic Encoding Rules (BER), Canonical Encoding Rules (CER), and Packed Encoding Rules (PER), Canonical Encoding Rules (CER) is a specification created by the https://www.itu.int/en/pages/default.aspx, International Telecommunications Union, and specified in http://www.itu.int/rec/T-REC-X.690/en, X.690 - ASN.1 encoding rules

der
module asn1.codecs.der

Distinguished Encoding Rules (DER) is a standard for encoding ASN.1 data. DER is often used for cryptgraphically-signed data, such as X.509 certificates, because DER's defining feature is that there is only one way to encode each data type, which means that two encodings of the same data could not have different cryptographic signatures. For this reason, DER is generally regarded as the most secure encoding standard for ASN.1. Like Basic Encoding Rules (BER), Canonical Encoding Rules (CER), and Packed Encoding Rules (PER), Distinguished Encoding Rules (DER) is a specification created by the https://www.itu.int/en/pages/default.aspx, International Telecommunications Union, and specified in http://www.itu.int/rec/T-REC-X.690/en, X.690 - ASN.1 encoding rules