class UseCondCertGenerator : public AkentiCertGenerator

Used to generate a UseCondition certificate

Inheritance:


Public Methods

UseCondCertGenerator ()
Creates this object
~UseCondCertGenerator ()
Destroys this object
void setResource (const string& resource)
Sets the resource
void setLocalScope (bool isScopeLocal)
void setCritical (bool isCritical)
void setCondition (const Condition& condition)
Sets the UseCondition that needs to be satisfied to award the the actions
void setActions (const vector& actions)
Sets the actions that will be awarded if the UseCondition is satisfied

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 a UseCondition certificate.
Usage:
AttributeCertGenerator gen;

// first call all set the methods in AkentiCertGenerator
gen.setResource(someResource);
gen.setAttribute("GROUP");
gen.setUseCondition(someUseCondition);
gen.setActions(someActions);
// finally call the sign method in AkentiCertGenerator
UseCondCertGenerator()
Creates this object

~UseCondCertGenerator()
Destroys this object

void setResource(const string& resource)
Sets the resource. resource the value for the resource

void setLocalScope(bool isScopeLocal)

void setCritical(bool isCritical)

void setCondition(const Condition& condition)
Sets the UseCondition that needs to be satisfied to award the the actions.
See Also:
UseCondition
setActions(const vectorUseConditionCertificateImpl

void setActions(const vector& actions)
Sets the actions that will be awarded if the UseCondition is satisfied.
See Also:
setUseCondition(const UseCondition&);
UseConditionCertificateImpl


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/25
See Also:
AkentiCertGenerator
UseCondition
UseCondCertificateImpl
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