pub struct VerifyingKeyWeak { /* private fields */ }Expand description
Signature verifier for degrees (logn) 2 to 8 only.
Trait Implementations§
Source§impl Clone for VerifyingKeyWeak
impl Clone for VerifyingKeyWeak
Source§fn clone(&self) -> VerifyingKeyWeak
fn clone(&self) -> VerifyingKeyWeak
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 VerifyingKeyWeak
Source§impl Debug for VerifyingKeyWeak
impl Debug for VerifyingKeyWeak
Source§impl VerifyingKey for VerifyingKeyWeak
impl VerifyingKey for VerifyingKeyWeak
Source§fn decode(src: &[u8]) -> Option<VerifyingKeyWeak>
fn decode(src: &[u8]) -> Option<VerifyingKeyWeak>
Create the instance by decoding the verifying key from its storage
format. Read more
Source§fn verify(
&self,
sig: &[u8],
ctx: &DomainContext<'_>,
id: &HashIdentifier<'_>,
hv: &[u8],
) -> bool
fn verify( &self, sig: &[u8], ctx: &DomainContext<'_>, id: &HashIdentifier<'_>, hv: &[u8], ) -> bool
Verify a signature. Read more
Source§fn verify_falcon(
&self,
profile: FalconProfile,
sig: &[u8],
message: &[u8],
) -> bool
fn verify_falcon( &self, profile: FalconProfile, sig: &[u8], message: &[u8], ) -> bool
Verify a raw-message Falcon-compatible signature.
Auto Trait Implementations§
impl Forget for VerifyingKeyWeak
impl Freeze for VerifyingKeyWeak
impl Move for VerifyingKeyWeak
impl RefUnwindSafe for VerifyingKeyWeak
impl Send for VerifyingKeyWeak
impl Sync for VerifyingKeyWeak
impl Unpin for VerifyingKeyWeak
impl UnsafeUnpin for VerifyingKeyWeak
impl UnwindSafe for VerifyingKeyWeak
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