Expand description
RustCrypto: ECDSA
Elliptic Curve Digital Signature Algorithm (ECDSA) as specified in FIPS 186-4 (Digital Signature Standard).
About
This crate provides generic ECDSA support which can be used in the following ways:
- Generic implementation of ECDSA usable with the following crates:
- Other crates which provide their own complete implementations of ECDSA can
also leverage the types from this crate to export ECDSA functionality in a
generic, interoperable way by leveraging
ecdsa::Signature
with thesignature::Signer
andsignature::Verifier
traits.
Minimum Supported Rust Version
This crate requires Rust 1.56 at a minimum.
We may change the MSRV in the future, but it will be accompanied by a minor version bump.
License
All crates 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.
serde
support
When the serde
feature of this crate is enabled, Serialize
and
Deserialize
impls are provided for the Signature
and VerifyingKey
types.
Please see type-specific documentation for more information.
Interop
Any crates which provide an implementation of ECDSA for a particular
elliptic curve can leverage the types from this crate, along with the
k256
, p256
, and/or p384
crates to expose ECDSA functionality in
a generic, interoperable way by leveraging the Signature
type with in
conjunction with the signature::Signer
and signature::Verifier
traits.
For example, the ring-compat
crate implements the signature::Signer
and signature::Verifier
traits in conjunction with the
p256::ecdsa::Signature
and p384::ecdsa::Signature
types to
wrap the ECDSA implementations from ring in a generic, interoperable
API.
Re-exports
pub use elliptic_curve;
pub use signature;