class AkentiCertGenerator

This class provides functionality will be used by all the akenti generators.

Inheritance:


Public Methods

[more] ~AkentiCertGenerator ()
Deletes this object
[more]void setVersionNumber (int version)
Sets the versionNumber to the Akenti Certificate being generated.
[more]void setUniqueID (const string& id)
Sets the unique identification string representing the Akenti Certificate being generated.
[more]void setIssuer (const AkentiIssuer& issuer)
Sets the issuer of the Akenti Certificate being generated in the form of AkentiPrincipal
[more]void setNotBefore (const UtcTime& notBefore)
Sets the Greenwich Mean Time (GMT) of the starting validity date of the certificate being generated
[more]void setNotAfter (const UtcTime& notAfter)
Sets the Greenwich Mean Time (GMT) of the ending validity date of the certificate being generated
[more]void sign (const PrivateKey &privateKey, const string& signatureAlg)
Signs the certificate being generated with specified privateKey and signatureAlg.
[more]const AkentiCertificate& generate ()
Generates the certificate

Protected Fields

[more]AkentiCertificate akentiCert
Sets the type of Akenti Certificate that this object refers to

Protected Methods

[more] AkentiCertGenerator (AkentiCertificateImpl* impl)
Constructs a AkentiCertGenerator object with a AkentiCertificateImpl object


Documentation

This class provides functionality will be used by all the akenti generators.

o ~AkentiCertGenerator()
Deletes this object

ovoid setVersionNumber(int version)
Sets the versionNumber to the Akenti Certificate being generated.

Parameters:
versionNumber - is set to the generated certificate

ovoid setUniqueID(const string& id)
Sets the unique identification string representing the Akenti Certificate being generated.

Parameters:
id - is set to the generated certificate

ovoid setIssuer(const AkentiIssuer& issuer)
Sets the issuer of the Akenti Certificate being generated in the form of AkentiPrincipal

Parameters:
issuer - is set to the generated certificate
See Also:
AkentiIssuer

ovoid setNotBefore(const UtcTime& notBefore)
Sets the Greenwich Mean Time (GMT) of the starting validity date of the certificate being generated

Parameters:
notBefore - is set to the genetated certificate
See Also:
UtcTime

ovoid setNotAfter(const UtcTime& notAfter)
Sets the Greenwich Mean Time (GMT) of the ending validity date of the certificate being generated

Parameters:
notAfter - is set to the generated certificate
See Also:
UtcTime

ovoid sign(const PrivateKey &privateKey, const string& signatureAlg)
Signs the certificate being generated with specified privateKey and signatureAlg.

Parameters:
privateKey -
signatureAlg -
See Also:
PrivateKey

oconst AkentiCertificate& generate()
Generates the certificate

o AkentiCertGenerator(AkentiCertificateImpl* impl)
Constructs a AkentiCertGenerator object with a AkentiCertificateImpl object

oAkentiCertificate akentiCert
Sets the type of Akenti Certificate that this object refers to

Parameters:
type - is set to this certificate


Direct child classes:
UseCondCertGenerator
PolicyCertGenerator
CapabilityCertGenerator
CacheCertGenerator
AttributeCertGenerator
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
AkentiCertificate
AkentiCertificateImpl
AkentiPrincipal
UtcTime

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.