]> git.proxmox.com Git - rustc.git/blob - vendor/sec1/README.md
New upstream version 1.70.0+dfsg2
[rustc.git] / vendor / sec1 / README.md
1 # [RustCrypto]: SEC1 Elliptic Curve Cryptography Formats
2
3 [![crate][crate-image]][crate-link]
4 [![Docs][docs-image]][docs-link]
5 [![Build Status][build-image]][build-link]
6 ![Apache2/MIT licensed][license-image]
7 ![Rust Version][rustc-image]
8 [![Project Chat][chat-image]][chat-link]
9
10 [Documentation][docs-link]
11
12 ## About
13
14 Pure Rust implementation of [SEC1: Elliptic Curve Cryptography] encoding
15 formats including ASN.1 DER-serialized private keys (also described in
16 [RFC5915]) as well as the `Elliptic-Curve-Point-to-Octet-String` and
17 `Octet-String-to-Elliptic-Curve-Point` encoding algorithms.
18
19 ## Minimum Supported Rust Version
20
21 This crate requires **Rust 1.57** at a minimum.
22
23 We may change the MSRV in the future, but it will be accompanied by a minor
24 version bump.
25
26 ## License
27
28 Licensed under either of:
29
30 * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
31 * [MIT license](http://opensource.org/licenses/MIT)
32
33 at your option.
34
35 ### Contribution
36
37 Unless you explicitly state otherwise, any contribution intentionally submitted
38 for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
39 dual licensed as above, without any additional terms or conditions.
40
41 [//]: # (badges)
42
43 [crate-image]: https://buildstats.info/crate/sec1
44 [crate-link]: https://crates.io/crates/sec1
45 [docs-image]: https://docs.rs/sec1/badge.svg
46 [docs-link]: https://docs.rs/sec1/
47 [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
48 [rustc-image]: https://img.shields.io/badge/rustc-1.57+-blue.svg
49 [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
50 [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/300570-formats
51 [build-image]: https://github.com/RustCrypto/formats/workflows/sec1/badge.svg?branch=master&event=push
52 [build-link]: https://github.com/RustCrypto/formats/actions
53
54 [//]: # (links)
55
56 [RustCrypto]: https://github.com/rustcrypto
57 [SEC1: Elliptic Curve Cryptography]: https://www.secg.org/sec1-v2.pdf
58 [RFC5915]: https://datatracker.ietf.org/doc/html/rfc5915