Namespaces | Classes | Enumerations

YAPET Namespace Reference

Namespace for cryptographic stuff. More...

Namespaces

namespace  CONFIG
namespace  CONSTS
namespace  GLOBALS
namespace  PWGEN
 

Namespace for pwgen.


namespace  UI

Classes

class  BDBuffer
 A wrapper-class for allocating and securely deallocating memory. More...
class  Crypt
 Encrypts and decrypts data. More...
class  File
 Class for storing and retrieving encrypted data to and from disk. More...
struct  FileHeader_32
 The file header for 32 bit pre version 0.6. More...
struct  FileHeader_64
 The file header for 64 bit pre version 0.6 and version 0.6. More...
class  Key
 Converts the password into the key. More...
class  PartDec
 Holds a partially decrypted record. More...
struct  PasswordRecord
 Structure of the password record. More...
class  Record
 Template for allocating/deallocating memory for structs. More...
class  YAPETEncryptionException
 Indicates an error while encrypting/decrypting. More...
class  YAPETException
 The exception class used for cryptographic classes. More...
class  YAPETInvalidPasswordException
 Indicates a wrong password. More...
class  YAPETRetryException
 Exception indicating that an operation may be retried. More...

Enumerations

enum  {
  HEADER_CONTROL_SIZE = 20, NAME_SIZE = 128, HOST_SIZE = 256, USERNAME_SIZE = 256,
  PASSWORD_SIZE = 256, COMMENT_SIZE = 512, HEADER_SIZE_32_B_PRE_0_6 = 25, HEADER_SIZE_64_B_PRE_0_6 = 29,
  HEADER_SIZE_0_6 = 29
}
enum  EXNUM { BDBUFFER_TOO_SMALL = 1, BDBUFFER_TOO_BIG = 2, NULLPOINTER = 3, NOTUSED = 255 }
enum  FILE_VERSION { VERSION_1 = 1, VERSION_2 = 2 }

Detailed Description

Holds primitive classes associated with the user interface.

Namespace for cryptographic stuff. Has no front-end and relies on openssl.

This namepsace holds the primitive classes used to build the user interface of yapet.

All YAPET configuration stuff is contained herein.


Enumeration Type Documentation

anonymous enum
Enumerator:
HEADER_CONTROL_SIZE 

The length of the control string used to check whether decryption was successful

NAME_SIZE 

The maximum length of the name string of a password record.

HOST_SIZE 

The maximum length of the host string of a password records.

USERNAME_SIZE 

The maximum length of the user name string of a password record.

PASSWORD_SIZE 

The maximum length of the password string of a password record.

COMMENT_SIZE 

The maximum length of the comment string of a password record.

HEADER_SIZE_32_B_PRE_0_6 

New in version 0.6.

The header size of pre v. 0.6 on 32 bit arch in bytes.

HEADER_SIZE_64_B_PRE_0_6 

New in version 0.6.

The header size of pre v. 0.6 on 64 bit arch in bytes.

HEADER_SIZE_0_6 

New in version 0.6.

The header size of 0.6 in bytes. Please note that the header size remains the same, regardless of the architecture (32/64bit)

Definition at line 70 of file structs.h.

New in version 0.6

Since version 0.6 we provide an optional error specification. It is entirely optional to use it, but at the time this writing, the YAPET::File class uses it to determine whether or not retrying to decrypt the using a different structure (FileHeader_32 or FileHeader_64)

Enumerator:
BDBUFFER_TOO_SMALL 
BDBUFFER_TOO_BIG 
NULLPOINTER 
NOTUSED 

Definition at line 60 of file yapetexception.h.

New in version 0.6

As of version 0.6, there may be different file versions. This holds the known file versions so far.

Enumerator:
VERSION_1 

The header version for pre version 0.6.

VERSION_2 

The header version for version 0.6.

Definition at line 60 of file structs.h.