Repository for various certificates
![]() | CertificateRepository::CertificateRepository (ConfigFile * cmConfigFile, LogFile *cmLogFile) Certificate repository constructor |
![]() | CertificateRepository::CertificateRepository (ConfigFile * cmConfigFile, LogFile *cmLogFile, set Certificate repository constructor |
![]() | CertificateRepository::ClearDirectory (string dir) Clears certificates from directory |
![]() | CertificateRepository::DeleteCertificates () Delete certificates from memmory |
![]() | CertificateRepository::GetCertificate (string type) Returns random certificate |
![]() | CertificateRepository::GetCertificates (Size count, string type) Returns a bunch of certificates |
![]() | CertificateRepository::IsAllowedType (string type) Is the type allowed to be stored in repository |
![]() | CertificateRepository::LoadCertificates () Load certificates from disk |
![]() | CertificateRepository::PutCertificates (GMessage *data) Inserts certificate into certificate repository |
![]() | 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.
set > allowedTypes
CertificateRepository(ConfigFile * cmConfigFile, LogFile *cmLogFile, set
GMessage* GetCertificates(Size count, string type)
GMessage* GetCertificate(string type)
void PutCertificates(GMessage *certifcates)
bool IsAllowedType(string type)
Err LoadCertificates()
Err SaveCertificates()
void DeleteCertificates()
Err ClearDirectory(string dir)
CertificateRepository::CertificateRepository(ConfigFile * cmConfigFile, LogFile *cmLogFile, set
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.
Err CertificateRepository::ClearDirectory(string dir)
void CertificateRepository::DeleteCertificates()
GMessage* CertificateRepository::GetCertificate(string type)
GMessage* CertificateRepository::GetCertificates(Size count, string type)
type - Type of certificates we want.
bool CertificateRepository::IsAllowedType(string type)
Err CertificateRepository::LoadCertificates()
void CertificateRepository::PutCertificates(GMessage *data)
Err CertificateRepository::SaveCertificates()
CertificateRepository::~CertificateRepository()
alphabetic index hierarchy of classes
generated by doc++