class AttributeCertGenerator

Used to generate an Attribute certificate.

Inheritance:


Public Methods

[more] AttributeCertGenerator ()
Constructs this object
[more] ~AttributeCertGenerator ()
Destroys this object
[more]void setPrincipal (const AkentiPrincipal& principal)
Sets the principal for the Akenti Certificate.
[more]void setAttribute (const string& attribute)
Sets the attribute component of the attribute/value pair that the newly generated certificate will attest to.
[more]void setValue (const string& value)
Sets the value component of the attribute/value pair that the newly generated certificate will attest to.
[more]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

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

Protected Fields

oAkentiCertificate 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    
  * 

o AttributeCertGenerator()
Constructs this object

o ~AttributeCertGenerator()
Destroys this object

ovoid setPrincipal(const AkentiPrincipal& principal)
Sets the principal for the Akenti Certificate.

Parameters:
principal - the principal of the Akenti Certificate

ovoid 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

ovoid 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

ovoid 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 HTML hierarchy of classes or Java



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