Crate authenticode
source ·Expand description
Authenticode utilities.
Reference: https://docs.microsoft.com/en-us/windows/win32/debug/pe-format
Features
All features are disabled by default.
object: Enables a dependency onobjectand implsPeTraitforPeFile.std: Turns offno_stdand implsstd::error::Errorfor the error types.
Structs
- Raw data for a PE attribute certificate.
- Iterator over PE attribute certificates.
- Parsed authenticode signature.
- Authenticode ASN.1 digest data.
- An offset within the PE is invalid.
- Various offsets within the PE file needed for authenticode hashing.
- Authenticode ASN.1 image data.
- Authenticode ASN.1 image and digest data.
Enums
- Error returned by
AttributeCertificate::get_authenticode_signature. - Error returned by
AttributeCertificateIterator::new. - Error returned by
AuthenticodeSignature::from_bytes.
Constants
- OID for
SpcIndirectDataContent. - Current version of
Win_Certificatestructure. - Certificate contains a PKCS#7
SignedDatastructure.
Traits
- Trait for reading a PE file.
Functions
- Calculate an authenticode digest.