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.

Structs§

AttributeCertificate
Raw data for a PE attribute certificate.
AttributeCertificateIterator
Iterator over PE attribute certificates.
AuthenticodeSignature
Parsed authenticode signature.
DigestInfo
Authenticode ASN.1 digest data.
PeOffsetError
An offset within the PE is invalid.
PeOffsets
Various offsets within the PE file needed for authenticode hashing.
SpcAttributeTypeAndOptionalValue
Authenticode ASN.1 image data.
SpcIndirectDataContent
Authenticode ASN.1 image and digest data.

Enums§

AttributeCertificateAuthenticodeError
Error returned by AttributeCertificate::get_authenticode_signature.
AttributeCertificateError
Error type for AttributeCertificateIterator.
AuthenticodeSignatureParseError
Error returned by AuthenticodeSignature::from_bytes.

Constants§

SPC_INDIRECT_DATA_OBJID
OID for SpcIndirectDataContent.
WIN_CERT_REVISION_2_0
Current version of Win_Certificate structure.
WIN_CERT_TYPE_PKCS_SIGNED_DATA
Certificate contains a PKCS#7 SignedData structure.

Traits§

PeTrait
Trait for reading a PE file.

Functions§

authenticode_digest
Calculate an authenticode digest.