Mixe for Privacy and Anonymity in the Internet
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CADataRetentionLogFile Class Reference

#include <CADataRetentionLogFile.hpp>

Collaboration diagram for CADataRetentionLogFile:

Public Member Functions

 CADataRetentionLogFile ()
 
 ~CADataRetentionLogFile ()
 
SINT32 openLog (UINT8 *strLogDir, UINT32 date, CAASymCipher *pPublicKey)
 
SINT32 closeLog ()
 
SINT32 log (t_dataretentionLogEntry *)
 
UINT32 getMaxLogTime ()
 

Static Public Member Functions

static SINT32 doCheckAndPerformanceTest ()
 

Private Member Functions

SINT32 writeHeader (CAASymCipher *pPublicKey)
 
SINT32 flushLogEntries ()
 
SINT32 writeFooter ()
 

Private Attributes

gcm_ctx_64k * m_pGCMCtx
 
int m_hLogFile
 
UINT8 m_Day
 
UINT8 m_Month
 
UINT16 m_Year
 
UINT8m_arOneBlock
 
UINT8m_encBlock
 
UINT8m_nonceBuffForLogEntries
 
UINT32 m_nLogEntriesPerBlock
 
UINT32 m_nBytesPerLogEntry
 
UINT32 m_nCurrentLogEntriesInBlock
 
UINT32 m_nCurrentBlockNumber
 
UINT32 m_nMaxLogTime
 

Detailed Description

Definition at line 26 of file CADataRetentionLogFile.hpp.

Constructor & Destructor Documentation

◆ CADataRetentionLogFile()

CADataRetentionLogFile::CADataRetentionLogFile ( )

◆ ~CADataRetentionLogFile()

CADataRetentionLogFile::~CADataRetentionLogFile ( )

Member Function Documentation

◆ closeLog()

SINT32 CADataRetentionLogFile::closeLog ( )

◆ doCheckAndPerformanceTest()

static SINT32 CADataRetentionLogFile::doCheckAndPerformanceTest ( )
static

◆ flushLogEntries()

SINT32 CADataRetentionLogFile::flushLogEntries ( )
private

◆ getMaxLogTime()

UINT32 CADataRetentionLogFile::getMaxLogTime ( )
inline

Definition at line 34 of file CADataRetentionLogFile.hpp.

35  {
36  return m_nMaxLogTime;
37  };

References m_nMaxLogTime.

◆ log()

SINT32 CADataRetentionLogFile::log ( t_dataretentionLogEntry *  )

◆ openLog()

SINT32 CADataRetentionLogFile::openLog ( UINT8 strLogDir,
UINT32  date,
CAASymCipher pPublicKey 
)

◆ writeFooter()

SINT32 CADataRetentionLogFile::writeFooter ( )
private

◆ writeHeader()

SINT32 CADataRetentionLogFile::writeHeader ( CAASymCipher pPublicKey)
private

Member Data Documentation

◆ m_arOneBlock

UINT8* CADataRetentionLogFile::m_arOneBlock
private

Definition at line 51 of file CADataRetentionLogFile.hpp.

◆ m_Day

UINT8 CADataRetentionLogFile::m_Day
private

Definition at line 48 of file CADataRetentionLogFile.hpp.

◆ m_encBlock

UINT8* CADataRetentionLogFile::m_encBlock
private

Definition at line 52 of file CADataRetentionLogFile.hpp.

◆ m_hLogFile

int CADataRetentionLogFile::m_hLogFile
private

Definition at line 47 of file CADataRetentionLogFile.hpp.

◆ m_Month

UINT8 CADataRetentionLogFile::m_Month
private

Definition at line 49 of file CADataRetentionLogFile.hpp.

◆ m_nBytesPerLogEntry

UINT32 CADataRetentionLogFile::m_nBytesPerLogEntry
private

Definition at line 55 of file CADataRetentionLogFile.hpp.

◆ m_nCurrentBlockNumber

UINT32 CADataRetentionLogFile::m_nCurrentBlockNumber
private

Definition at line 57 of file CADataRetentionLogFile.hpp.

◆ m_nCurrentLogEntriesInBlock

UINT32 CADataRetentionLogFile::m_nCurrentLogEntriesInBlock
private

Definition at line 56 of file CADataRetentionLogFile.hpp.

◆ m_nLogEntriesPerBlock

UINT32 CADataRetentionLogFile::m_nLogEntriesPerBlock
private

Definition at line 54 of file CADataRetentionLogFile.hpp.

◆ m_nMaxLogTime

UINT32 CADataRetentionLogFile::m_nMaxLogTime
private

Definition at line 58 of file CADataRetentionLogFile.hpp.

Referenced by getMaxLogTime().

◆ m_nonceBuffForLogEntries

UINT8* CADataRetentionLogFile::m_nonceBuffForLogEntries
private

Definition at line 53 of file CADataRetentionLogFile.hpp.

◆ m_pGCMCtx

gcm_ctx_64k* CADataRetentionLogFile::m_pGCMCtx
private

Definition at line 45 of file CADataRetentionLogFile.hpp.

◆ m_Year

UINT16 CADataRetentionLogFile::m_Year
private

Definition at line 50 of file CADataRetentionLogFile.hpp.


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