#include <structs.h>
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. |
Definition at line 83 of file structs.h.
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().
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 107 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 89 of file structs.h.
Referenced by YAPET::File::initFile().