[][src]Struct ecdsa::verifier::Verifier

pub struct Verifier<C: Curve + Arithmetic> { /* fields omitted */ }
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]

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]

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]

Auto Trait Implementations

impl<C> RefUnwindSafe for Verifier<C> where
    <C as Arithmetic>::AffinePoint: RefUnwindSafe

impl<C> Send for Verifier<C> where
    <C as Arithmetic>::AffinePoint: Send

impl<C> Sync for Verifier<C> where
    <C as Arithmetic>::AffinePoint: Sync

impl<C> Unpin for Verifier<C> where
    <C as Arithmetic>::AffinePoint: Unpin

impl<C> UnwindSafe for Verifier<C> where
    <C as Arithmetic>::AffinePoint: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.