SourceForge Logo
Main Page   Compound List   File List   Compound Members   File Members  

FPMBlowfishCodecPrototype Class Reference

Password encoding/decoding prototype for FPM Blowfish encrypted file. More...

#include <FPMBlowfishCodecPrototype.h>

List of all members.

Public Methods

 FPMBlowfishCodecPrototype ()
 Constructor of the password encoding/decoding prototype for FPM blowfish encrypted file. More...

 FPMBlowfishCodecPrototype (const FPMBlowfishCodecPrototype &password_codec_prototype)
 Copy constructor of the password encoding/decoding prototype for FPM Blowfish encrypted file. More...

virtual ~FPMBlowfishCodecPrototype ()
 Destructor of the password encoding/decoding prototype for FPM Blowfish encrypted file. More...

virtual PasswordCodecPrototype * clone (void) const
 Create a new password encoding/decoding prototype that is a exact copy of the current one. More...

virtual bool loadFile (string filename, string password)
 Decrypts the password informations and add them in the list in order they can be retreived by the app. More...

virtual bool saveFile (string password)
 Encrypts and saves all the password informations present in the list in the file defined by loadFile() or newFile(). More...

virtual bool pushPasswordInfos (PasswordInfos *password_infos)
 Inserts password_infos at the end of the list if the password informations are editable. More...

virtual bool isEditable (void)
 Informs if the passwords informations are editable. More...

virtual bool hasFixedField (void) const
 Defines if this encrypted format supports variable number of field to describe passwords. More...

virtual int getNbField (void) const
 Returns the number of fields that describe the password (password and description are not included). More...

virtual PasswordInfos getFieldsName (void) const
 Returns the fields name describing what represents each elements of the password informations. More...

virtual bool setFieldsName (PasswordInfos fields_name_infos)
 Defines the fields name describing what represents each elements of the password informations. More...


Detailed Description

Password encoding/decoding prototype for FPM Blowfish encrypted file.


Constructor & Destructor Documentation

FPMBlowfishCodecPrototype::FPMBlowfishCodecPrototype  
 

Constructor of the password encoding/decoding prototype for FPM blowfish encrypted file.

Returns:
none

FPMBlowfishCodecPrototype::FPMBlowfishCodecPrototype const FPMBlowfishCodecPrototype &    password_codec_prototype
 

Copy constructor of the password encoding/decoding prototype for FPM Blowfish encrypted file.

Parameters:
password_codec_prototype  the password encoding/decoding prototype to copy
Returns:
none

FPMBlowfishCodecPrototype::~FPMBlowfishCodecPrototype   [virtual]
 

Destructor of the password encoding/decoding prototype for FPM Blowfish encrypted file.

Returns:
none


Member Function Documentation

PasswordCodecPrototype * FPMBlowfishCodecPrototype::clone void    const [virtual]
 

Create a new password encoding/decoding prototype that is a exact copy of the current one.

Returns:
the new password encoding/decoding prototype clone

PasswordInfos FPMBlowfishCodecPrototype::getFieldsName void    const [virtual]
 

Returns the fields name describing what represents each elements of the password informations.

Returns:
a PasswordInfos structure in which each element holds the name of fields

int FPMBlowfishCodecPrototype::getNbField void    const [virtual]
 

Returns the number of fields that describe the password (password and description are not included).

Returns:
the number of fields

bool FPMBlowfishCodecPrototype::hasFixedField void    const [virtual]
 

Defines if this encrypted format supports variable number of field to describe passwords.

Returns:
true if the number is fixed / false if it is variable

bool FPMBlowfishCodecPrototype::isEditable void    [virtual]
 

Informs if the passwords informations are editable.

Returns:
true if they are editable / false otherwise

bool FPMBlowfishCodecPrototype::loadFile string    filename,
string    password
[virtual]
 

Decrypts the password informations and add them in the list in order they can be retreived by the app.

Parameters:
filename  the filename where encrypted passwords are.
password  the password to decrypt the file
Returns:
true if the decryption is ok / false otherwise

bool FPMBlowfishCodecPrototype::pushPasswordInfos PasswordInfos *    password_infos [virtual]
 

Inserts password_infos at the end of the list if the password informations are editable.

Parameters:
password_infos  the password structure to insert
Returns:
true if the element has been inserted successfully / false otherwise.

bool FPMBlowfishCodecPrototype::saveFile string    password [virtual]
 

Encrypts and saves all the password informations present in the list in the file defined by loadFile() or newFile().

Parameters:
password  the password to encrypt the data
Returns:
true if the save succeeds / false otherwise

bool FPMBlowfishCodecPrototype::setFieldsName PasswordInfos    fields_name_infos [virtual]
 

Defines the fields name describing what represents each elements of the password informations.

Parameters:
fields_name_infos  a PasswordInfos structure in which each element holds the name of fields
Returns:
true if formats of PasswordInfos structures are compatible / false otherwise.


The documentation for this class was generated from the following files:
Generated on Sun Mar 9 11:13:59 2003 for FPMBlowfishPlugin by doxygen1.2.15