pub struct VerifyingKey {
pub scheme: SigningScheme,
/* private fields */
}
Fields§
§scheme: SigningScheme
Implementations§
Source§impl VerifyingKey
impl VerifyingKey
pub fn new( scheme: &SigningScheme, target_private_key: &SigningKey, ) -> Result<Self, SecurityError>
pub fn from_slice( slice: &[u8], scheme: &SigningScheme, ) -> Result<Self, SecurityError>
pub fn as_bytes(&self) -> &[u8] ⓘ
Trait Implementations§
Source§impl BaseType for VerifyingKey
impl BaseType for VerifyingKey
Source§fn fingerprint() -> u64
fn fingerprint() -> u64
The fingerprint of this type.
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 From<VerifyingKey<NistP256>> for VerifyingKey
impl From<VerifyingKey<NistP256>> for VerifyingKey
Source§impl PartialEq for VerifyingKey
impl PartialEq for VerifyingKey
Source§impl TryFrom<&VerifyingKey> for VerifyingKey
impl TryFrom<&VerifyingKey> for VerifyingKey
Source§type Error = SecurityError
type Error = SecurityError
The type returned in the event of a conversion error.
impl Copy for VerifyingKey
impl Eq for VerifyingKey
impl StructuralPartialEq for VerifyingKey
Auto Trait Implementations§
impl Freeze for VerifyingKey
impl ObjSafe for VerifyingKey
impl RefUnwindSafe for VerifyingKey
impl Send for VerifyingKey
impl StoreCopy 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