Repository for various certificates
CertificateRepository::CertificateRepository (ConfigFile * cmConfigFile, LogFile *cmLogFile) Certificate repository constructor | |
CertificateRepository::CertificateRepository (ConfigFile * cmConfigFile, LogFile *cmLogFile, set Certificate repository constructor | |
Err | CertificateRepository::ClearDirectory (string dir) Clears certificates from directory |
void | CertificateRepository::DeleteCertificates () Delete certificates from memmory |
GMessage* | CertificateRepository::GetCertificate (string type) Returns random certificate |
GMessage* | CertificateRepository::GetCertificates (Size count, string type) Returns a bunch of certificates |
bool | CertificateRepository::IsAllowedType (string type) Is the type allowed to be stored in repository |
Err | CertificateRepository::LoadCertificates () Load certificates from disk |
void | CertificateRepository::PutCertificates (GMessage *data) Inserts certificate into certificate repository |
Err | CertificateRepository::SaveCertificates () Save certificates to disk |
CertificateRepository::~CertificateRepository () Certificate repository destructor |
methods
|
attributes
|
Repository for various certificates. Stores certificates in memory and is able to seve them to disk and again load them. It is also able to return certificates of desired type.
This version of constructor takes an additional parameter that specifies what certificates can be stored
in this instance of certificate repository.
cmLogFile - Log file for debug messages.
allowedTypes - list (STL list) of types that can be stored in repository.
type - Type of certificates we want.
alphabetic index hierarchy of classes
generated by doc++