pub struct DigestInfo {
pub algorithm: Algorithm,
pub hash: Vec<u8>,
}
Expand description
Information about the digest of the PE file. The information includes the algorithm used and the hash, which are taken from the PE file itself.
Fields§
§algorithm: Algorithm
The algorithm used for the Authenticode hash.
hash: Vec<u8>
The hash of the Authenticode signature.
ATTENTION: The hash can be wrong and has to be verified by comparing it to the computed hash of the Authenticode signature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DigestInfo
impl RefUnwindSafe for DigestInfo
impl Send for DigestInfo
impl Sync for DigestInfo
impl Unpin for DigestInfo
impl UnwindSafe for DigestInfo
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