#[non_exhaustive]pub struct SignatureVerificationInput<'a> {
pub message: &'a [u8],
pub signer: &'a SignerPublicKey<'a>,
pub signature: &'a DigitallySignedStruct,
}
Expand description
Input for message signature verification.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.message: &'a [u8]
The message is not hashed, and needs hashing during verification.
signer: &'a SignerPublicKey<'a>
The public key to use.
signer
has already been validated by the point this is called.
signature: &'a DigitallySignedStruct
The signature scheme and payload.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SignatureVerificationInput<'a>
impl<'a> RefUnwindSafe for SignatureVerificationInput<'a>
impl<'a> Send for SignatureVerificationInput<'a>
impl<'a> Sync for SignatureVerificationInput<'a>
impl<'a> Unpin for SignatureVerificationInput<'a>
impl<'a> UnwindSafe for SignatureVerificationInput<'a>
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