pub enum CounterSignatureVerify {
Valid,
CantParse,
NoSignerCert,
UnknownAlgorithm,
Invalid,
CantDecryptDigest,
DigestMissing,
DoesntMatchSignature,
InternalError,
TimeMissing,
}
Expand description
Status of verification for a counter signature.
Variants§
Valid
Countersignature is valid
CantParse
Parsing error (from OpenSSL functions)
NoSignerCert
Signers certificate is missing
UnknownAlgorithm
Unknown algorithm, can’t proceed with verification
Invalid
Verification failed, digest mismatch
CantDecryptDigest
Failed to decrypt countersignature enc_digest for verification
DigestMissing
No digest saved inside the countersignature
DoesntMatchSignature
Message digest inside countersignature doesn’t match signature it countersigns
InternalError
Non verification errors - allocations etc.
TimeMissing
Time is missing in the timestamp signature
Trait Implementations§
source§impl Debug for CounterSignatureVerify
impl Debug for CounterSignatureVerify
source§impl PartialEq for CounterSignatureVerify
impl PartialEq for CounterSignatureVerify
source§fn eq(&self, other: &CounterSignatureVerify) -> bool
fn eq(&self, other: &CounterSignatureVerify) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CounterSignatureVerify
impl StructuralPartialEq for CounterSignatureVerify
Auto Trait Implementations§
impl RefUnwindSafe for CounterSignatureVerify
impl Send for CounterSignatureVerify
impl Sync for CounterSignatureVerify
impl Unpin for CounterSignatureVerify
impl UnwindSafe for CounterSignatureVerify
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