class AttributeCertGenerator : public AkentiCertGenerator

Used to generate an Attribute certificate

Inheritance:


Public Methods

AttributeCertGenerator ()
Constructs this object
~AttributeCertGenerator ()
Destroys this object
void setPrincipal (const AkentiPrincipal& principal)
Sets the principal for the Akenti Certificate
void setAttribute (const string& attribute)
Sets the attribute component of the attribute/value pair that the newly generated certificate will attest to
void setValue (const string& value)
Sets the value component of the attribute/value pair that the newly generated certificate will attest to
void setCondition (const Condition& condition)
Sets the Condition that will need to be satisfied before the attribute/value pair are attested to by the newly genarated certificate

Inherited from AkentiCertGenerator:

Public Methods

void setVersionNumber(int version)
void setUniqueID(const string& id)
void setIssuer(const AkentiIssuer& issuer)
void setNotBefore(const UtcTime& notBefore)
void setNotAfter(const UtcTime& notAfter)
void sign(const PrivateKey &privateKey, const string& signatureAlg)
const AkentiCertificate& generate()

Protected Fields

AkentiCertificate akentiCert

Documentation

Used to generate an Attribute certificate.
Usage:
AttributeCertGenerator gen;

// first call all the set methods in AkentiCertGenerator
gen.setPrincipal(somePrincipal);
gen.setAttribute("GROUP");
gen.setValue("DSD");
// gen.setCondition(someCondition);  optional
// finally call the sign method in  AkentiCertGenerator    
AttributeCertGenerator()
Constructs this object

~AttributeCertGenerator()
Destroys this object

void setPrincipal(const AkentiPrincipal& principal)
Sets the principal for the Akenti Certificate.
Parameters:
principal - the principal of the Akenti Certificate

void setAttribute(const string& attribute)
Sets the attribute component of the attribute/value pair that the newly generated certificate will attest to.
See Also:
setValue(const string&)
AttributeCertificateImpl

void setValue(const string& value)
Sets the value component of the attribute/value pair that the newly generated certificate will attest to.
See Also:
setAttribute(const string&)
AttributeCertificateImpl

void setCondition(const Condition& condition)
Sets the Condition that will need to be satisfied before the attribute/value pair are attested to by the newly genarated certificate. Note: The condition is optional.
See Also:
AttributeCertificateImpl


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/25
See Also:
AkentiCertGenerator
AkentiPrincipal
AttributeCertificateImpl
AkentiCertificate

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