pub struct VerifyingKey { /* private fields */ }
Expand description
DSA public key.
Implementations§
Source§impl VerifyingKey
impl VerifyingKey
Sourcepub fn from_components(components: Components, y: BigUint) -> Result<Self>
pub fn from_components(components: Components, y: BigUint) -> Result<Self>
Construct a new public key from the common components and the public component
Sourcepub const fn components(&self) -> &Components
pub const fn components(&self) -> &Components
DSA common components
Trait Implementations§
Source§impl Clone for VerifyingKey
impl Clone for VerifyingKey
Source§fn clone(&self) -> VerifyingKey
fn clone(&self) -> VerifyingKey
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 Debug for VerifyingKey
impl Debug for VerifyingKey
Source§impl<D> DigestVerifier<D, Signature> for VerifyingKeywhere
D: Digest,
impl<D> DigestVerifier<D, Signature> for VerifyingKeywhere
D: Digest,
Source§impl EncodePublicKey for VerifyingKey
impl EncodePublicKey for VerifyingKey
Source§impl PartialEq for VerifyingKey
impl PartialEq for VerifyingKey
Source§impl PartialOrd for VerifyingKey
impl PartialOrd for VerifyingKey
Source§impl PrehashVerifier<Signature> for VerifyingKey
impl PrehashVerifier<Signature> for VerifyingKey
Source§impl<'a> TryFrom<SubjectPublicKeyInfo<AnyRef<'a>, BitStringRef<'a>>> for VerifyingKey
impl<'a> TryFrom<SubjectPublicKeyInfo<AnyRef<'a>, BitStringRef<'a>>> for VerifyingKey
Source§impl Verifier<Signature> for VerifyingKey
impl Verifier<Signature> for VerifyingKey
impl StructuralPartialEq for VerifyingKey
Auto Trait Implementations§
impl Freeze for VerifyingKey
impl RefUnwindSafe for VerifyingKey
impl Send for VerifyingKey
impl Sync for VerifyingKey
impl Unpin for VerifyingKey
impl UnwindSafe for VerifyingKey
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