[][src]Crate signature

Traits which provide generic, object-safe APIs for generating and verifying digital signatures, which provide message authentication using public-key cryptography.

Minimum Supported Rust Version

Rust 1.34 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above
  • The off-by-default features derive-preview and digest-preview are unstable "preview" features which are also considered exempt from SemVer. Breaking changes to these features will, like MSRV, be done with a minor version bump.

Re-exports

pub use digest;

Structs

Error

Signature errors

Traits

DigestSignature

Marker trait for Signature types computable as S(H(m))

DigestSigner

Sign the given prehashed message Digest using Self.

DigestVerifier

Verify the provided signature for the given prehashed message Digest is authentic.

Signature

Trait impl'd by concrete types that represent digital signatures

Signer

Sign the provided message bytestring using Self (e.g. a cryptographic key or connection to an HSM), returning a digital signature.

Verifier

Verify the provided message bytestring using Self (e.g. a public key)

Type Definitions

BoxError

Box containing a thread-safe + 'static error suitable for use as a as an std::error::Error::source