[−][src]Trait ecdsa::hazmat::DigestPrimitive
This is supported on
feature="hazmat" and feature="digest" only.Bind a preferred [Digest] algorithm to an elliptic curve type.
Generally there is a preferred variety of the SHA-2 family used with ECDSA for a particular elliptic curve.
This trait can be used to specify it, and with it receive a blanket impl of
PrehashSignature, used by signature_derive) for the Signature
type for a particular elliptic curve.
Associated Types
type Digest: Digest
This is supported on
feature="hazmat" and feature="digest" only.Preferred digest to use when computing ECDSA signatures for this elliptic curve. This should be a member of the SHA-2 family.