:py:mod:`dissect.executable.pe.directory.security` ================================================== .. py:module:: dissect.executable.pe.directory.security Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.executable.pe.directory.security.SecurityDirectory dissect.executable.pe.directory.security.Certificate .. py:class:: SecurityDirectory(pe: dissect.executable.pe.pe.PE, address: int, size: int) Bases: :py:obj:`dissect.executable.pe.directory.base.DataDirectory` The security directory of a PE file. .. py:method:: __repr__() -> str .. py:method:: __len__() -> int .. py:method:: __iter__() -> collections.abc.Iterator[Certificate] .. py:method:: __getitem__(idx: int) -> Certificate .. py:property:: entries :type: list[Certificate] List of certificates in the security directory. .. py:class:: Certificate(certificate: dissect.executable.pe.c_pe.c_pe.WIN_CERTIFICATE) A single certificate entry in the security directory. .. py:attribute:: certificate .. py:method:: __repr__() -> str .. py:property:: revision :type: int The revision of the certificate. .. py:property:: type :type: dissect.executable.pe.c_pe.c_pe.WIN_CERT_TYPE The type of the certificate. .. py:property:: size :type: int The size of the certificate. .. py:property:: data :type: bytes The raw data of the certificate.