Trait ecdsa::hazmat::VerifyPrimitive [−][src]
pub trait VerifyPrimitive<C> where
C: Curve + ProjectiveArithmetic,
SignatureSize<C>: ArrayLength<u8>, { fn verify_prehashed(
&self,
hashed_msg: &Scalar<C>,
signature: &Signature<C>
) -> Result<()>; }
This is supported on crate features
hazmat
and arithmetic
only.Expand description
Verify the given prehashed message using ECDSA.
This trait is intended to be implemented on type which can access
the affine point represeting the public key via &self
, such as a
particular curve’s AffinePoint
type.