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 83 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 100 of file structs.h.

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

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

Definition at line 107 of file structs.h.

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

Holds the version of the file structure.

Definition at line 89 of file structs.h.

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


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

Generated on Thu Jun 11 19:13:05 2009 for YAPET by  doxygen 1.5.8