#asn1 #crypto #itu #pkcs

no-std 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 with full support for heapless no_std targets

6 releases (3 breaking)

0.4.0 Jun 8, 2021
0.3.5 May 24, 2021
0.3.3 Apr 15, 2021
0.3.0 Mar 22, 2021
0.0.0 Dec 17, 2020

#484 in Cryptography

Download history 11169/week @ 2021-04-03 8482/week @ 2021-04-10 10269/week @ 2021-04-17 12129/week @ 2021-04-24 7477/week @ 2021-05-01 8537/week @ 2021-05-08 10668/week @ 2021-05-15 10376/week @ 2021-05-22 9745/week @ 2021-05-29 11497/week @ 2021-06-05 11800/week @ 2021-06-12 15994/week @ 2021-06-19 16235/week @ 2021-06-26 18870/week @ 2021-07-03 19896/week @ 2021-07-10 20846/week @ 2021-07-17

47,439 downloads per month
Used in 58 crates (5 directly)

Apache-2.0 OR MIT

195KB
4K SLoC

RustCrypto: ASN.1 DER

crate Docs Apache2/MIT licensed Rust Version Project Chat Build Status

Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690.

Documentation

About

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).

License

Licensed under either of:

at your option.

Contribution

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.

Dependencies

~165KB