namespace Akenti class AkentiExtension
Class DelegationCertGenerator is a
subclass of AkentiCertGenerator
-
void setVersion(const string& version)
-
Sets the version for this certificate
-
void setGuarantor(const AkentiPrincipal& guarantor)
-
Sets the guarantor for this certificate
-
void setLastUpdate(const UtcTime& lastUpdate)
-
Sets the UTC Time for which this certificate is last updated
-
void setNextUpdate(const UtcTime& nextUpdate)
-
Sets the next date in UTC Time for which this certificate will be updated
-
void setRevokedCertificates(const vector<AkentiRevokedCertificate>& revokedCerts)
-
Sets the Certificates that has been revoked
-
void addRevokedCertificate(const AkentiRevokedCertificate& revokedCert)
-
Adds the certificates to the list that has been revoked
-
void sign(const PrivateKey& privateKey, const string& algorithm)
-
For signing the this certificate
-
DefaultRevocationCertGenerator()
-
-
~DefaultRevocationCertGenerator()
-
-
void setSerialNumber(int number)
-
-
void setType(const string& type)
-
-
void setUniqueID(const string& uniqueID)
-
-
void setRevocationDate(const string& revocationDate)
-
-
AkentiRevokedCertificate generateRevokedCertificate()
-
Documentation
Class DelegationCertGenerator is a
subclass of AkentiCertGenerator.
It generates a DelegationCertificateImpl that contains the information
for the general Akenti Certificate as well as the informat that is specific
to a Delegation Certificate such as resource and extensions
void setVersion(const string& version)
-
Sets the version for this certificate.
- Parameters:
- version - the version of this certificate
void setGuarantor(const AkentiPrincipal& guarantor)
-
Sets the guarantor for this certificate.
- Parameters:
- guarantor - the Akenti principal ie. the guarantor of this
certificate
void setLastUpdate(const UtcTime& lastUpdate)
-
Sets the UTC Time for which this certificate is last updated.
- Parameters:
- lastUpdate - the UTC Time at which it was last updated.
void setNextUpdate(const UtcTime& nextUpdate)
-
Sets the next date in UTC Time for which this certificate will be updated.
- Parameters:
- nextUpdate - the UTC Time at which it will need its next update.
void setRevokedCertificates(const vector<AkentiRevokedCertificate>& revokedCerts)
-
Sets the Certificates that has been revoked.
- Parameters:
- revokedCerts - the list of revoked certificates.
void addRevokedCertificate(const AkentiRevokedCertificate& revokedCert)
-
Adds the certificates to the list that has been revoked.
- Parameters:
- revokeCert - the revoked certificate.
void sign(const PrivateKey& privateKey, const string& algorithm)
-
For signing the this certificate.
- Parameters:
- privateKey - one of the key pair, ie. the private key used for
signing.
algorithm - the algorithm used for the signature.
DefaultRevocationCertGenerator()
-
~DefaultRevocationCertGenerator()
-
void setSerialNumber(int number)
-
void setType(const string& type)
-
void setUniqueID(const string& uniqueID)
-
void setRevocationDate(const string& revocationDate)
-
AkentiRevokedCertificate generateRevokedCertificate()
-
- Author:
- Srilekha Mudumbai
Abdelilah Essiari
- Version:
- 1.1 00/05/25
- See Also:
- AkentiCertGenerator
AkentiCertificate
AkentiCertificateImpl
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