RustCrypto: ASN.1 DER
Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690.
This crate provides a no_std
-friendly implementation of a subset of ASN.1 DER
necessary for decoding/encoding various cryptography-related formats
implemented as part of the RustCrypto project, e.g. the pkcs8
crate.
The core implementation avoids any heap usage (with convenience methods
that allocate gated under the off-by-default alloc
feature).
Licensed under either of:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.