retdec
Public Member Functions | Private Attributes | List of all members
PeLib::SecurityDirectory Class Reference

#include <SecurityDirectory.h>

Collaboration diagram for PeLib::SecurityDirectory:
Collaboration graph
[legend]

Public Member Functions

 SecurityDirectory ()
 Constructor. More...
 
unsigned int calcNumberOfCertificates () const
 Number of certificates in the directory. More...
 
const std::vector< unsigned char > & getCertificate (std::size_t index) const
 Returns certificate at specified index. More...
 
LoaderError loaderError () const
 Return the loader error. More...
 
int read (std::istream &inStream, unsigned int uiOffset, unsigned int uiSize)
 Read a file's certificate directory. More...
 

Private Attributes

LoaderError m_ldrError
 
std::vector< PELIB_IMAGE_CERTIFICATE_ENTRYm_certs
 

Constructor & Destructor Documentation

◆ SecurityDirectory()

PeLib::SecurityDirectory::SecurityDirectory ( )

Constructor.

Member Function Documentation

◆ calcNumberOfCertificates()

unsigned int PeLib::SecurityDirectory::calcNumberOfCertificates ( ) const

Number of certificates in the directory.

◆ getCertificate()

const std::vector< unsigned char > & PeLib::SecurityDirectory::getCertificate ( std::size_t  index) const

Returns certificate at specified index.

◆ loaderError()

LoaderError PeLib::SecurityDirectory::loaderError ( ) const

Return the loader error.

◆ read()

int PeLib::SecurityDirectory::read ( std::istream &  inStream,
unsigned int  uiOffset,
unsigned int  uiSize 
)

Read a file's certificate directory.

Member Data Documentation

◆ m_certs

std::vector<PELIB_IMAGE_CERTIFICATE_ENTRY> PeLib::SecurityDirectory::m_certs
private

◆ m_ldrError

LoaderError PeLib::SecurityDirectory::m_ldrError
private

The documentation for this class was generated from the following files: