[][src]Crate async_signature

RustCrypto: async-signature crate.

This is an experimental crate containing async versions of select traits from the signature crate, namely AsyncSigner and when the digest feature is enabled, AsyncDigestSigner.

Traits are implemented using async-trait, which rewrites the traits to use Box-ed futures.

The longer-term goal is to move these traits into the signature crate itself, however before doing so we'd like to remove the async-trait dependency in order to enable use in no_std environments. This crate is a stopgap until that happens.

For more information, see: https://github.com/RustCrypto/traits/issues/304

Re-exports

pub use signature;
pub use signature::digest;

Structs

Error

Signature errors.

Traits

AsyncDigestSignerdigest

Asynchronously sign the given prehashed message Digest using Self.

AsyncSigner

Asynchronously sign the provided message bytestring using Self (e.g. client for a Cloud KMS or HSM), returning a digital signature.

Digest

The Digest trait specifies an interface common for digest functions.

Signature

Trait impl'd by concrete types that represent digital signatures.