Struct authenticode_parser::Authenticode
source · pub struct Authenticode<'a>(/* private fields */);
Expand description
Authenticode signature.
Implementations§
source§impl Authenticode<'_>
impl Authenticode<'_>
sourcepub fn verify_flags(&self) -> Option<AuthenticodeVerify>
pub fn verify_flags(&self) -> Option<AuthenticodeVerify>
Flags related to verification.
sourcepub fn digest_alg(&self) -> Option<&[u8]>
pub fn digest_alg(&self) -> Option<&[u8]>
Name of the digest algorithm.
sourcepub fn file_digest(&self) -> Option<&[u8]>
pub fn file_digest(&self) -> Option<&[u8]>
Actual calculated file digest.
sourcepub fn certs(&self) -> &[Certificate<'_>]
pub fn certs(&self) -> &[Certificate<'_>]
All certificates in the Signature.
This includes the ones in timestamp countersignatures.
sourcepub fn countersigs(&self) -> &[Countersignature<'_>]
pub fn countersigs(&self) -> &[Countersignature<'_>]
Timestamp countersignatures.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Authenticode<'a>
impl<'a> !Send for Authenticode<'a>
impl<'a> !Sync for Authenticode<'a>
impl<'a> Unpin for Authenticode<'a>
impl<'a> UnwindSafe for Authenticode<'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