pub struct VerifyingKey(/* private fields */);Expand description
A (decompressed) point on the Edwards25519 curve (but not on its twist) that may be used to verify signatures.
It is not as compact as a PublicKey in memory and requires more costly
verification/initialization, but directly corresponds to one.
Implementations§
Source§impl<'a> VerifyingKey
impl<'a> VerifyingKey
pub fn public_key(&'a self) -> &'a PublicKey
Trait Implementations§
Source§impl AsRef<[u8; 32]> for VerifyingKey
impl AsRef<[u8; 32]> for VerifyingKey
Source§fn as_ref(&self) -> &PublicKeyBytes
fn as_ref(&self) -> &PublicKeyBytes
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for VerifyingKey
impl Clone for VerifyingKey
Source§fn clone(&self) -> VerifyingKey
fn clone(&self) -> VerifyingKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VerifyingKey
Source§impl Debug for VerifyingKey
impl Debug for VerifyingKey
Source§impl Display for VerifyingKey
Available on crate features alloc and multibase only.
impl Display for VerifyingKey
Available on crate features
alloc and multibase only.impl Eq for VerifyingKey
Source§impl From<VerifyingKey> for VerifyingKey
impl From<VerifyingKey> for VerifyingKey
Source§fn from(other: VerifyingKey) -> Self
fn from(other: VerifyingKey) -> Self
Converts to this type from the input type.
Source§impl Hash for VerifyingKey
impl Hash for VerifyingKey
Source§impl PartialEq for VerifyingKey
impl PartialEq for VerifyingKey
impl StructuralPartialEq for VerifyingKey
Source§impl TryFrom<&PublicKey> for VerifyingKey
impl TryFrom<&PublicKey> 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 UnsafeUnpin 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