mixconfig.tools.dataretention.DataRetentionLogFile Class Reference

List of all members.

Public Member Functions

 DataRetentionLogFile (File logFile) throws IOException
int getEncryptedKeyCount ()
byte[] getEncryptedKey (int index)
void setDecryptionKey (byte[] symkey)
void verifyHeader () throws Exception
void verifyFooter () throws Exception
int getNrOfLogLines ()
void verifyFirstLogLine () throws Exception
void verifyNextLogLine () throws Exception
DataRetentionLogFileEntry[] search (long t_out, int d_t) throws Exception

Package Functions

byte[] readAndDecrpytLogLine (int lineNr) throws Exception

Private Member Functions

void readFooter () throws IOException
void parseHeader () throws IOException
DataRetentionLogFileEntry[] getAllLogEntries (int lowInd, int upInd) throws Exception
long getToutOfLogEntry (int ind) throws Exception
byte[] createIV (int blocksCounter)
int getExpectedNrOfLogEntries ()

Private Attributes

File m_File
DataRetentionLogFileHeader m_Header
byte[] m_SymKey
byte[] m_Footer
FileInputStream m_LogFileInputStream
int m_currentLogVerifyLine

Static Private Attributes

static final int FOOTER_SIZE = 20


Constructor & Destructor Documentation

mixconfig.tools.dataretention.DataRetentionLogFile.DataRetentionLogFile ( File  logFile  )  throws IOException


Member Function Documentation

void mixconfig.tools.dataretention.DataRetentionLogFile.readFooter (  )  throws IOException [private]

void mixconfig.tools.dataretention.DataRetentionLogFile.parseHeader (  )  throws IOException [private]

int mixconfig.tools.dataretention.DataRetentionLogFile.getEncryptedKeyCount (  ) 

byte [] mixconfig.tools.dataretention.DataRetentionLogFile.getEncryptedKey ( int  index  ) 

void mixconfig.tools.dataretention.DataRetentionLogFile.setDecryptionKey ( byte[]  symkey  ) 

void mixconfig.tools.dataretention.DataRetentionLogFile.verifyHeader (  )  throws Exception

void mixconfig.tools.dataretention.DataRetentionLogFile.verifyFooter (  )  throws Exception

int mixconfig.tools.dataretention.DataRetentionLogFile.getNrOfLogLines (  ) 

void mixconfig.tools.dataretention.DataRetentionLogFile.verifyFirstLogLine (  )  throws Exception

void mixconfig.tools.dataretention.DataRetentionLogFile.verifyNextLogLine (  )  throws Exception

DataRetentionLogFileEntry [] mixconfig.tools.dataretention.DataRetentionLogFile.search ( long  t_out,
int  d_t 
) throws Exception

DataRetentionLogFileEntry [] mixconfig.tools.dataretention.DataRetentionLogFile.getAllLogEntries ( int  lowInd,
int  upInd 
) throws Exception [private]

byte [] mixconfig.tools.dataretention.DataRetentionLogFile.readAndDecrpytLogLine ( int  lineNr  )  throws Exception [package]

long mixconfig.tools.dataretention.DataRetentionLogFile.getToutOfLogEntry ( int  ind  )  throws Exception [private]

byte [] mixconfig.tools.dataretention.DataRetentionLogFile.createIV ( int  blocksCounter  )  [private]

Method creates proper raw initialization vector from value of blocksCounter.

Parameters:
blocksCounter Actual counter of blocks (aka log lines)
Returns:
Array with initialization vector.

Referenced by mixconfig.tools.dataretention.DataRetentionLogFile.readAndDecrpytLogLine(), and mixconfig.tools.dataretention.DataRetentionLogFile.verifyNextLogLine().

int mixconfig.tools.dataretention.DataRetentionLogFile.getExpectedNrOfLogEntries (  )  [private]


Member Data Documentation


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

Generated on Mon Nov 16 23:24:48 2009 for MixConfig by  doxygen 1.5.6