[][src]Crate dasn1_der

ASN.1 Distingushed Encoding Rules (DER)

Distingushed Encoding Rules are a superset of the ASN.1 Basic Encoding Rules (BER), designed to be canonical (An encoding where there is only a single way to encode a value) and for when you have all of the data needed to encode. DER is used in frequently in cryptography (X.509 certificates, PKCS#12).

Re-exports

pub use error::Result;

Modules

error

When serialising or deserialising ASN.1 goes wrong.

identifier

Provides a data representation of the ASN.1 BER Identifier octets.

Functions

from_slice

Deserialize an instance of T from bytes of ASN.1 DER.

to_vec

Serialize an instance of T as a ASN.1 DER byte vector.