pub enum AuthenticodeVerify {
Valid,
CantParse,
NoSignerCert,
DigestMissing,
InternalError,
NoSignerInfo,
WrongPkcs7Type,
BadContent,
Invalid,
WrongFileDigest,
UnknownAlgorithm,
}
Expand description
Status of verification for an authenticode signature.
Variants§
Valid
Signature is valid
CantParse
Parsing error (from OpenSSL functions)
NoSignerCert
Signers certificate is missing
DigestMissing
No digest saved inside the signature
InternalError
Non verification errors - allocations etc.
NoSignerInfo
SignerInfo part of PKCS7 is missing
WrongPkcs7Type
PKCS7 doesn’t have type of SignedData, can’t proceed
BadContent
PKCS7 doesn’t have corrent content, can’t proceed
Invalid
Contained and calculated digest don’t match
WrongFileDigest
Signature hash and file hash doesn’t match
UnknownAlgorithm
Unknown algorithm, can’t proceed with verification
Trait Implementations§
source§impl Debug for AuthenticodeVerify
impl Debug for AuthenticodeVerify
source§impl PartialEq for AuthenticodeVerify
impl PartialEq for AuthenticodeVerify
source§fn eq(&self, other: &AuthenticodeVerify) -> bool
fn eq(&self, other: &AuthenticodeVerify) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AuthenticodeVerify
impl StructuralPartialEq for AuthenticodeVerify
Auto Trait Implementations§
impl RefUnwindSafe for AuthenticodeVerify
impl Send for AuthenticodeVerify
impl Sync for AuthenticodeVerify
impl Unpin for AuthenticodeVerify
impl UnwindSafe for AuthenticodeVerify
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