Struct ring_compat::signature::ecdsa::VerifyingKey
source · 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>where
C: CurveAlg,
FieldBytesSize<C>: ModulusSize,
SignatureSize<C>: ArrayLength<u8>,
impl<C> VerifyingKey<C>where C: CurveAlg, FieldBytesSize<C>: ModulusSize, SignatureSize<C>: ArrayLength<u8>,
Trait Implementations§
source§impl<C> Clone for VerifyingKey<C>where
C: CurveAlg + Clone,
FieldBytesSize<C>: ModulusSize,
SignatureSize<C>: ArrayLength<u8>,
impl<C> Clone for VerifyingKey<C>where C: CurveAlg + Clone, FieldBytesSize<C>: ModulusSize, SignatureSize<C>: ArrayLength<u8>,
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>where
C: CurveAlg + Debug,
FieldBytesSize<C>: ModulusSize,
SignatureSize<C>: ArrayLength<u8>,
impl<C> Debug for VerifyingKey<C>where C: CurveAlg + Debug, FieldBytesSize<C>: ModulusSize, SignatureSize<C>: ArrayLength<u8>,
source§impl<C> PartialEq for VerifyingKey<C>where
C: CurveAlg + PartialEq,
FieldBytesSize<C>: ModulusSize,
SignatureSize<C>: ArrayLength<u8>,
impl<C> PartialEq for VerifyingKey<C>where C: CurveAlg + PartialEq, FieldBytesSize<C>: ModulusSize, SignatureSize<C>: ArrayLength<u8>,
source§fn eq(&self, other: &VerifyingKey<C>) -> bool
fn eq(&self, other: &VerifyingKey<C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<C> Verifier<Signature<C>> for VerifyingKey<C>where
C: CurveAlg + PrimeCurve,
FieldBytesSize<C>: ModulusSize,
SignatureSize<C>: ArrayLength<u8>,
impl<C> Verifier<Signature<C>> for VerifyingKey<C>where C: CurveAlg + PrimeCurve, FieldBytesSize<C>: ModulusSize, SignatureSize<C>: ArrayLength<u8>,
impl<C> Eq for VerifyingKey<C>where C: CurveAlg + Eq, FieldBytesSize<C>: ModulusSize, SignatureSize<C>: ArrayLength<u8>,
impl<C> StructuralEq for VerifyingKey<C>where C: CurveAlg, FieldBytesSize<C>: ModulusSize, SignatureSize<C>: ArrayLength<u8>,
impl<C> StructuralPartialEq for VerifyingKey<C>where C: CurveAlg, FieldBytesSize<C>: ModulusSize, SignatureSize<C>: ArrayLength<u8>,
Auto Trait Implementations§
impl<C> RefUnwindSafe for VerifyingKey<C>where <<<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 ModulusSize>::UncompressedPointSize as ArrayLength<u8>>::ArrayType: Unpin,
impl<C> UnwindSafe for VerifyingKey<C>where <<<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