[−][src]Trait signature::DigestSignature
This is supported on
feature="digest-preview"
only.Marker trait for Signature
types computable as S(H(m))
S
: signature algorithmH
: hash (a.k.a. digest) functionm
: message
i.e. a traditional application of the Fiat-Shamir heuristic.
For signature types that implement this trait, when the derive-preview
Cargo feature is enabled a custom derive for Signer
is available for any
types that impl DigestSigner
, and likewise for deriving Verifier
for
types which impl DigestVerifier
.
Associated Types
type Digest: Digest
This is supported on
feature="digest-preview"
only.Preferred Digest
algorithm to use when computing this signature type.