pub struct VerifyingKey<C>where
C: Ciphersuite,{ /* private fields */ }
Expand description
A valid verifying key for Schnorr signatures over a FROST Ciphersuite::Group
.
Implementations§
Source§impl<C> VerifyingKey<C>where
C: Ciphersuite,
impl<C> VerifyingKey<C>where
C: Ciphersuite,
Sourcepub fn deserialize(bytes: &[u8]) -> Result<VerifyingKey<C>, Error<C>>
pub fn deserialize(bytes: &[u8]) -> Result<VerifyingKey<C>, Error<C>>
Deserialize from bytes
Trait Implementations§
Source§impl<C> Clone for VerifyingKey<C>where
C: Ciphersuite + Clone,
impl<C> Clone for VerifyingKey<C>where
C: Ciphersuite + Clone,
Source§fn clone(&self) -> VerifyingKey<C>
fn clone(&self) -> VerifyingKey<C>
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<C> Debug for VerifyingKey<C>where
C: Ciphersuite,
impl<C> Debug for VerifyingKey<C>where
C: Ciphersuite,
Source§impl<'de, C> Deserialize<'de> for VerifyingKey<C>where
C: Ciphersuite,
impl<'de, C> Deserialize<'de> for VerifyingKey<C>where
C: Ciphersuite,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<C> From<&SigningKey<C>> for VerifyingKey<C>where
C: Ciphersuite,
impl<C> From<&SigningKey<C>> for VerifyingKey<C>where
C: Ciphersuite,
Source§fn from(signing_key: &SigningKey<C>) -> Self
fn from(signing_key: &SigningKey<C>) -> Self
Converts to this type from the input type.
Source§impl<C> From<SigningKey<C>> for VerifyingKey<C>where
C: Ciphersuite,
impl<C> From<SigningKey<C>> for VerifyingKey<C>where
C: Ciphersuite,
Source§fn from(signing_key: SigningKey<C>) -> Self
fn from(signing_key: SigningKey<C>) -> Self
Converts to this type from the input type.
Source§impl<C> PartialEq for VerifyingKey<C>where
C: Ciphersuite + PartialEq,
impl<C> PartialEq for VerifyingKey<C>where
C: Ciphersuite + PartialEq,
Source§impl<C> Serialize for VerifyingKey<C>where
C: Ciphersuite,
impl<C> Serialize for VerifyingKey<C>where
C: Ciphersuite,
impl<C> Copy for VerifyingKey<C>where
C: Ciphersuite + Copy,
impl<C> Eq for VerifyingKey<C>where
C: Ciphersuite + Eq,
impl<C> StructuralPartialEq for VerifyingKey<C>where
C: Ciphersuite,
Auto Trait Implementations§
impl<C> Freeze for VerifyingKey<C>
impl<C> RefUnwindSafe for VerifyingKey<C>
impl<C> Send for VerifyingKey<C>
impl<C> Sync for VerifyingKey<C>
impl<C> Unpin for VerifyingKey<C>
impl<C> UnwindSafe for VerifyingKey<C>
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