[][src]Trait signature::DigestSignature

pub trait DigestSignature: Signature {
    type Digest: Digest;
}

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

  • S: signature algorithm
  • H: hash (a.k.a. digest) function
  • m: message

For signature types that implement this trait, a blanket impl of Signer will be provided for all types that impl DigestSigner along with a corresponding impl of Verifier for all types that impl DigestVerifier.

Associated Types

type Digest: Digest

Preferred Digest algorithm to use when computing this signature type.

Loading content...

Implementors

Loading content...