pub trait AsyncDigestSigner<D, S>
where D: Digest,
{ // Required method async fn sign_digest_async(&self, digest: D) -> Result<S, Error>; }
Available on crate feature digest only.
Expand description

Asynchronously sign the given prehashed message Digest using Self.

This trait is an async equivalent of the signature::DigestSigner trait.

Required Methods§

source

async fn sign_digest_async(&self, digest: D) -> Result<S, Error>

Attempt to sign the given prehashed message Digest, returning a digital signature on success, or an error if something went wrong.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<D, S, T> AsyncDigestSigner<D, S> for T
where D: Digest, T: DigestSigner<D, S>,