3 unstable releases
|new 0.2.9||Feb 24, 2021|
|0.2.8||Feb 22, 2021|
|0.1.0||Dec 22, 2020|
#363 in Cryptography
28,431 downloads per month
Used in 14 crates (3 directly)
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
The core implementation avoids any heap usage (with convenience methods
that allocate gated under the off-by-default
The implementation is presently specialized for documents which are smaller than 64kB, as that provides a safe bound for the current use cases. However, that may be revisited in the future depending on interest in support for larger documents. Please open a GitHub Issue if you find this limit constraining in practice.
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.