dissect.executable.pe.directory.security

Module Contents

Classes

SecurityDirectory

The security directory of a PE file.

Certificate

A single certificate entry in the security directory.

class dissect.executable.pe.directory.security.SecurityDirectory(pe: dissect.executable.pe.pe.PE, address: int, size: int)

Bases: dissect.executable.pe.directory.base.DataDirectory

The security directory of a PE file.

__repr__() str
__len__() int
__iter__() collections.abc.Iterator[Certificate]
__getitem__(idx: int) Certificate
property entries: list[Certificate]

List of certificates in the security directory.

class dissect.executable.pe.directory.security.Certificate(certificate: dissect.executable.pe.c_pe.c_pe.WIN_CERTIFICATE)

A single certificate entry in the security directory.

certificate
__repr__() str
property revision: int

The revision of the certificate.

property type: dissect.executable.pe.c_pe.c_pe.WIN_CERT_TYPE

The type of the certificate.

property size: int

The size of the certificate.

property data: bytes

The raw data of the certificate.