Crate sec1[−][src]
Expand description
Pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding
formats including ASN.1 DER-serialized private keys (also described in
RFC5915) as well as the Elliptic-Curve-Point-to-Octet-String
and
Octet-String-to-Elliptic-Curve-Point
encoding algorithms.
Minimum Supported Rust Version
This crate requires Rust 1.51 at a minimum.
Re-exports
pub use der;
pub use self::point::EncodedPoint;
Modules
Type aliases for many constants.
Support for the SEC1 Elliptic-Curve-Point-to-Octet-String
and
Octet-String-to-Elliptic-Curve-Point
encoding algorithms.
Structs
Enums
Elliptic curve parameters as described in RFC5480 Section 2.1.1:
Error type
LineEnding
pem
Line endings.
Traits
Parse an EcPrivateKey
from a SEC1-encoded document.
ToEcPrivateKey
alloc
Serialize a EcPrivateKey
to a SEC1 encoded document.