YAPET::FileHeader Struct Reference

The file header. More...

#include <structs.h>

List of all members.

Public Attributes

uint8_t control [HEADER_CONTROL_SIZE]
 Control string.
time_t pwset
 The date the key has first been used.
uint8_t version
 Version.


Detailed Description

This is the file header structure.

Definition at line 72 of file structs.h.


Member Data Documentation

uint8_t YAPET::FileHeader::control[HEADER_CONTROL_SIZE]

Holds the control string used to verify the decryption of the file. It is filled with a known sequence of characters before encryption. After decryption the sequence of characters stored in this field and the predefined are compared. If they are identical, the decryption is assumed to be successful.

Definition at line 89 of file structs.h.

Referenced by YAPET::File::initFile(), and YAPET::File::validateKey().

time_t YAPET::FileHeader::pwset

Holds the date the key has first been used to encrypt the file. Has to be stored in big-endian order.

Definition at line 96 of file structs.h.

Referenced by YAPET::File::getMasterPWSet(), and YAPET::File::initFile().

uint8_t YAPET::FileHeader::version

Holds the version of the file structure.

Definition at line 78 of file structs.h.

Referenced by YAPET::File::initFile().


The documentation for this struct was generated from the following file:
Generated on Wed Feb 27 16:15:42 2008 for YAPET by  doxygen 1.5.4