namespace Akenti class URL
Note:
In a multithreaded program:
1) Install custom made CertificateRetrievalImpl objects at startup
-
PolicyCollector(CertificateCache& cache, Verifier& verifier, Policy& policy)
-
Constructs this object given a CertificateVerifier, a
CertificateCache, and a Policy
-
~PolicyCollector()
-
-
void collect()
-
Polpulates the Policy with the appropriate UseCondition
certificates
bool verifyPolicyCertificate()
-
Returns true if the policy certificate verifies
vector <CacheCertHolder> getUCCertHolders()
-
Helper Function
-
~ServerContext()
-
-
const PrivateKey& getPrivateKey() const
-
-
const Certificate& getCertificate() const
-
-
bool areCredentialsLoaded() const
-
-
void initPrivateKeyFromFile(const string& fileType, const string& fileName)
-
-
void initCertificateFromFile(const string& fileType, const string& fileName)
-
-
static ServerContext& getServerContext()
-
-
static bool isServerContextSet()
-
ServerContext()
-
ServerContext(const ServerContext&)
-
void operator=(const ServerContext&)
-
-
Verifier(CertificateVerifier& certVerifier)
-
-
bool verify(const AkentiCertificate& cert)
-
-
void setCacheInterval(int cacheIntervall)
-
-
void setIdentityDirs(const vector& dirs)
-
Verifier(const Verifier&)
-
void operator=(const Verifier&)
-
CertificateVerifier& certVerifier
-
Documentation
Note:
In a multithreaded program:
1) Install custom made CertificateRetrievalImpl objects at startup.
2) The following static methods are thread safe.
getCertificates(...) and getAkentiCertificate(...)
PolicyCollector(CertificateCache& cache, Verifier& verifier, Policy& policy)
-
Constructs this object given a CertificateVerifier, a
CertificateCache, and a Policy.
The CertificateVerifier is used to verify the policy
certificate contained in the Policy and the UseCondition
certificates that apply to this Policy.
The CertificateCache is queried for UseCondition certificates.
If these certificates are not found in the cache, this
PolicyCollector collects them and puts them in the cache.
- See Also:
- Policy
CertificateCache
CertificateVerifier
~PolicyCollector()
void collect()
-
Polpulates the Policy with the appropriate UseCondition
certificates. The collection process of UseCondition certificates
starts only after the policy certificate has been verified.
Algorithm to collect UseCondition certificates.
1) First we check the cache for UseCondition certificates.
If found in the cache, we verify the ones that apply
and populate the Policy.
2) We collect the UseCondition certificates from the directories
specified in the policy certificate. The collection process obeys
the following rules.
For each group of UseConditionIssuer's we must find
a valid UseCondition certificate. That is a certificate that
has not expired, is issued by one of the issuers for that
group, and is found to be trusted.
Furthermore if we find one valid UseCondition, we assume that we
have found them all.
- See Also:
- verifyPolicyCertificate()
getUCCertHolders()
~ServerContext()
const PrivateKey& getPrivateKey() const
const Certificate& getCertificate() const
bool areCredentialsLoaded() const
void initPrivateKeyFromFile(const string& fileType, const string& fileName)
void initCertificateFromFile(const string& fileType, const string& fileName)
static ServerContext& getServerContext()
static bool isServerContextSet()
Verifier(CertificateVerifier& certVerifier)
bool verify(const AkentiCertificate& cert)
void setCacheInterval(int cacheIntervall)
void setIdentityDirs(const vector& dirs)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de