ASN.1编码规则

ASN.1只定义表示信息的抽象句法,不限定其编码的方法。

标准的ASN.1编码规则有:

基本编码规则(BER,Basic Encoding Rules)

规范编码规则(CER,Canonical Encoding Rules)

唯一编码规则(DER,Distinguished Encoding Rules)

压缩编码规则(PER,Packed Encoding Rules)

字串编码规则(GSER,Generic String Encoding Rules)

XML编码规则(XER,XML Encoding Rules)

ECN(Encoding Control Notation )