pub struct VerifyingKey<C>(/* private fields */)
where
C: CurveAlg,
FieldBytesSize<C>: ModulusSize,
SignatureSize<C>: ArrayLength<u8>;
Available on crate feature
signature
only.Expand description
ECDSA verifying key. Generic over elliptic curves.
Implementations§
Source§impl<C> VerifyingKey<C>
impl<C> VerifyingKey<C>
Trait Implementations§
Source§impl<C> Clone for VerifyingKey<C>
impl<C> Clone for VerifyingKey<C>
Source§fn clone(&self) -> VerifyingKey<C>
fn clone(&self) -> VerifyingKey<C>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<C> Debug for VerifyingKey<C>
impl<C> Debug for VerifyingKey<C>
Source§impl<C> PartialEq for VerifyingKey<C>
impl<C> PartialEq for VerifyingKey<C>
Source§impl<C> Verifier<Signature<C>> for VerifyingKey<C>
impl<C> Verifier<Signature<C>> for VerifyingKey<C>
impl<C> Eq for VerifyingKey<C>
impl<C> StructuralPartialEq for VerifyingKey<C>
Auto Trait Implementations§
impl<C> Freeze for VerifyingKey<C>where
<<C as Curve>::FieldBytesSize as Add>::Output: Sized,
<C as Curve>::FieldBytesSize: Sized,
<<<C as Curve>::FieldBytesSize as ModulusSize>::UncompressedPointSize as ArrayLength<u8>>::ArrayType: Freeze,
impl<C> RefUnwindSafe for VerifyingKey<C>where
<<C as Curve>::FieldBytesSize as Add>::Output: Sized,
<C as Curve>::FieldBytesSize: Sized,
<<<C as Curve>::FieldBytesSize as ModulusSize>::UncompressedPointSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<C> Send for VerifyingKey<C>
impl<C> Sync for VerifyingKey<C>
impl<C> Unpin for VerifyingKey<C>where
<<C as Curve>::FieldBytesSize as Add>::Output: Sized,
<C as Curve>::FieldBytesSize: Sized,
<<<C as Curve>::FieldBytesSize as ModulusSize>::UncompressedPointSize as ArrayLength<u8>>::ArrayType: Unpin,
impl<C> UnwindSafe for VerifyingKey<C>where
<<C as Curve>::FieldBytesSize as Add>::Output: Sized,
<C as Curve>::FieldBytesSize: Sized,
<<<C as Curve>::FieldBytesSize as ModulusSize>::UncompressedPointSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more