pub struct VerifyingKey {
pub key: Vec<u8>,
pub algo: SignatureAlgorithm,
pub curve: EllipticCurve,
pub enc: KeyEncoding,
}
Expand description
A verifying key (e.g an ECDSA/secp256k1 public key).
Fields§
§key: Vec<u8>
The verifying key as a sequence of bytes.
algo: SignatureAlgorithm
The signature algorithm.
curve: EllipticCurve
The elliptic curve.
enc: KeyEncoding
The encoding standard used for the verifying key.
Trait Implementations§
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 · 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 PartialEq for VerifyingKey
impl PartialEq for VerifyingKey
impl Eq 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