pub enum VerificationError {
EmptySignature,
SignatureTooLarge,
PayloadTooLarge,
EmptyKeyId,
AlgorithmNotAdmitted,
InvalidSignature,
}Expand description
Verification and signature-envelope validation failures.
Variants§
EmptySignature
The signature payload was empty.
SignatureTooLarge
The signature payload exceeded the active profile bound.
PayloadTooLarge
The detached canonical payload exceeded the active profile bound.
EmptyKeyId
The key identifier was all zeros.
AlgorithmNotAdmitted
The algorithm is not admitted by local policy.
InvalidSignature
Signature verification failed.
Trait Implementations§
Source§impl Clone for VerificationError
impl Clone for VerificationError
Source§fn clone(&self) -> VerificationError
fn clone(&self) -> VerificationError
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 VerificationError
Source§impl Debug for VerificationError
impl Debug for VerificationError
impl Eq for VerificationError
Source§impl PartialEq for VerificationError
impl PartialEq for VerificationError
Source§fn eq(&self, other: &VerificationError) -> bool
fn eq(&self, other: &VerificationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerificationError
Auto Trait Implementations§
impl Freeze for VerificationError
impl RefUnwindSafe for VerificationError
impl Send for VerificationError
impl Sync for VerificationError
impl Unpin for VerificationError
impl UnsafeUnpin for VerificationError
impl UnwindSafe for VerificationError
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