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

Public Imports

asn1.codec
public import asn1.codec;
asn1.interfaces
public import asn1.interfaces : Byteable;
asn1.types.identification
public import asn1.types.identification;

Members

Aliases

DERElement
alias DERElement = DistinguishedEncodingRulesElement
derOID
alias derOID = distinguishedEncodingRulesObjectIdentifier
derObjectID
alias derObjectID = distinguishedEncodingRulesObjectIdentifier
derObjectIdentifier
alias derObjectIdentifier = distinguishedEncodingRulesObjectIdentifier

Classes

DistinguishedEncodingRulesElement
class DistinguishedEncodingRulesElement

The unit of encoding and decoding for Distinguished Encoding Rules (DER).

Variables

distinguishedEncodingRulesObjectIdentifier
OID distinguishedEncodingRulesObjectIdentifier;

The object identifier assigned to the Distinguished Encoding Rules (DER), per the https://www.itu.int/en/pages/default.aspx, International Telecommunications Union's, http://www.itu.int/rec/T-REC-X.690/en, X.690 - ASN.1 encoding rules

See Also

Meta

Authors

  • $(PERSON Jonathan M. Wilbur, jonathan@wilbur.space, http://jonathan.wilbur.space)