In file /home/eternity/Source/Acs/AddressManager/H/addressManager.h:

class AddressManager : public Debugable, public AcsOffspring

Access certificates manager

Inheritance:

AddressManager < Debugable

AddressManager < AcsOffspring


Public

methods
AddressManager (Acs * parent, LogFile * addressManagerLogFile)
Constructor
~AddressManager ()
Destructor
GMessage* GetMixCertificate ()
Returns one Mix certificate from CertificateRepository
GMessage* CreateAcsCertificate ()
Returns one Acs certificate from CertificateRepository
virtual void Shutdown ()
Prepare for clean shutdown
GMessage* CreateAcsCertificate (u_short port, GMessage **certificate)
Generates a new Acs certificate
Err StoreAsymetricKeyPairOntoDisk (GMessage *asymetricKeyPair)
Writes a pair of asymetric keys in a file anto the disk

Protected

attributes
ID lastID
Last used certificate ID
GMessage* acsCertificate
Certificate of this Acs
methods
Err SaveCertificates ()
Storing certificates to disk
Err LoadCertificates ()
Loading certificates from disk

Inherited from Debugable:

Public Methods

string* Debugable::CreateString(char *firstStr, int firstInt, int secondInt)
Debugable::Debugable(LogFile * debugLogFile)
int Debugable::SetDebugOptions(int newLogOptions)
void Debugable::SetLogFile(LogFile *aLogFile)
void Debugable::WriteString(LogLevel debugLevel, char * format, ...)
Debugable::~Debugable()

Inherited from AcsOffspring:

Public Methods

AcsOffspring::AcsOffspring(Acs * acs)

Documentation

Access certificates manager. Takes care of expiring expunging and creating certificates that are stored in a container class called CertificateRepository.
attributes

ID lastID
Last used certificate ID

GMessage* acsCertificate
Certificate of this Acs

methods

Err SaveCertificates()
Storing certificates to disk

Err LoadCertificates()
Loading certificates from disk

methods

AddressManager(Acs * parent, LogFile * addressManagerLogFile)
Constructor

~AddressManager()
Destructor

GMessage* GetMixCertificate()
Returns one Mix certificate from CertificateRepository

GMessage* CreateAcsCertificate()
Returns one Acs certificate from CertificateRepository

virtual void Shutdown()
Prepare for clean shutdown

GMessage* CreateAcsCertificate(u_short port, GMessage **certificate)
Generates a new Acs certificate

Err StoreAsymetricKeyPairOntoDisk(GMessage *asymetricKeyPair)
Writes a pair of asymetric keys in a file anto the disk


This class has no child classes.
Author:
Venca
See Also:
CertificateRepository

alphabetic index hierarchy of classes


generated by doc++