[−][src]Struct ecdsa::verifier::Verifier
This is supported on
feature="verifier"
only.ECDSA verifier
Implementations
impl<C> Verifier<C> where
C: Curve + Arithmetic,
C::AffinePoint: VerifyPrimitive<C> + FromPublicKey<C>,
C::ElementSize: Add<U1>,
<C::ElementSize as Add>::Output: Add<U1>,
CompressedPointSize<C>: ArrayLength<u8>,
UncompressedPointSize<C>: ArrayLength<u8>,
SignatureSize<C>: ArrayLength<u8>,
[src]
C: Curve + Arithmetic,
C::AffinePoint: VerifyPrimitive<C> + FromPublicKey<C>,
C::ElementSize: Add<U1>,
<C::ElementSize as Add>::Output: Add<U1>,
CompressedPointSize<C>: ArrayLength<u8>,
UncompressedPointSize<C>: ArrayLength<u8>,
SignatureSize<C>: ArrayLength<u8>,
pub fn new(public_key: &PublicKey<C>) -> Result<Self, Error>
[src]
This is supported on
feature="verifier"
only.Create a new verifier
Trait Implementations
impl<C, D> DigestVerifier<D, Signature<C>> for Verifier<C> where
C: Curve + Arithmetic,
D: Digest<OutputSize = C::ElementSize>,
C::AffinePoint: VerifyPrimitive<C>,
SignatureSize<C>: ArrayLength<u8>,
[src]
C: Curve + Arithmetic,
D: Digest<OutputSize = C::ElementSize>,
C::AffinePoint: VerifyPrimitive<C>,
SignatureSize<C>: ArrayLength<u8>,
impl<C> Verifier<Signature<C>> for Verifier<C> where
C: Curve + Arithmetic + DigestPrimitive,
C::AffinePoint: VerifyPrimitive<C>,
C::Digest: Digest<OutputSize = C::ElementSize>,
SignatureSize<C>: ArrayLength<u8>,
[src]
C: Curve + Arithmetic + DigestPrimitive,
C::AffinePoint: VerifyPrimitive<C>,
C::Digest: Digest<OutputSize = C::ElementSize>,
SignatureSize<C>: ArrayLength<u8>,
Auto Trait Implementations
impl<C> RefUnwindSafe for Verifier<C> where
<C as Arithmetic>::AffinePoint: RefUnwindSafe,
<C as Arithmetic>::AffinePoint: RefUnwindSafe,
impl<C> Send for Verifier<C> where
<C as Arithmetic>::AffinePoint: Send,
<C as Arithmetic>::AffinePoint: Send,
impl<C> Sync for Verifier<C> where
<C as Arithmetic>::AffinePoint: Sync,
<C as Arithmetic>::AffinePoint: Sync,
impl<C> Unpin for Verifier<C> where
<C as Arithmetic>::AffinePoint: Unpin,
<C as Arithmetic>::AffinePoint: Unpin,
impl<C> UnwindSafe for Verifier<C> where
<C as Arithmetic>::AffinePoint: UnwindSafe,
<C as Arithmetic>::AffinePoint: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,