[−][src]Trait async_signature::AsyncDigestSigner
This is supported on crate feature
digest
only.Asynchronously sign the given prehashed message Digest
using Self
.
This trait is an async equivalent of the signature::DigestSigner
trait.
Required methods
#[must_use]fn sign_digest_async<'life0, 'async_trait>(
&'life0 self,
digest: D
) -> Pin<Box<dyn Future<Output = Result<S, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
digest: D
) -> Pin<Box<dyn Future<Output = Result<S, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is supported on crate feature
digest
only.Attempt to sign the given prehashed message Digest
, returning a
digital signature on success, or an error if something went wrong.
Implementors
impl<D, S, T> AsyncDigestSigner<D, S> for T where
D: Digest + Send + 'static,
S: Signature + Send + 'static,
T: DigestSigner<D, S> + Send + Sync,
[src]
D: Digest + Send + 'static,
S: Signature + Send + 'static,
T: DigestSigner<D, S> + Send + Sync,