Struct ed448_verifier::signature::Signature
source · pub struct Signature { /* private fields */ }
Implementations§
source§impl Signature
impl Signature
sourcepub fn from_bytes(bytes: &[u8; 114]) -> Result<Self, SignatureError>
pub fn from_bytes(bytes: &[u8; 114]) -> Result<Self, SignatureError>
Creates a signature from a byte array.
Fails if the byte representation of a scalar is not canonical.
Trait Implementations§
source§impl DigestVerifier<XofDigest<CoreWrapper<Shake256Core>, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>, Signature> for VerifyingKey
impl DigestVerifier<XofDigest<CoreWrapper<Shake256Core>, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>, Signature> for VerifyingKey
source§fn verify_digest(
&self,
digest: Shake256U64,
signature: &Signature,
) -> Result<(), SignatureError>
fn verify_digest( &self, digest: Shake256U64, signature: &Signature, ) -> Result<(), SignatureError>
Verify the signature against the given [
Digest
] output.Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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