class UseCondCertGenerator

Used to generate a UseCondition certificate.

Inheritance:


Public Methods

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


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

o UseCondCertGenerator()
Creates this object

o ~UseCondCertGenerator()
Destroys this object

ovoid setResource(const string& resource)
Sets the resource.

resource the value for the resource

ovoid setLocalScope(bool isScopeLocal)

ovoid setCritical(bool isCritical)

ovoid setCondition(const Condition& condition)
Sets the UseCondition that needs to be satisfied to award the the actions.

See Also:
UseCondition
setActions(const vectorUseConditionCertificateImpl

ovoid setActions(const vector<string>& 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 HTML hierarchy of classes or Java



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