These certificates are mainly used by the stakeholders or resource owners to place a use condition on the access/usage of a resource
![]() | UseCondCertificateImpl () Default constructor |
![]() | ~UseCondCertificateImpl () Default destructor |
![]() | getHashString () const Returns a string whose hash will be used to locate this certificate |
![]() | getResource () const Returns the name of the resource |
![]() | isScopeLocal () const Returns true if this certificate does not apply to sub resources |
![]() | isCritical () const Returns true if this certificate must be satisfied |
![]() | getCondition () const Returns the Condition |
![]() | getConstraint () const |
![]() | getAttributeInfos () const Returns the list of AttributeInfos |
![]() | getActions () const Returns the list of actions |
![]() | newInstance () const |
![]() | doWrite (AkentiOutputStream& drain) const Writes this certificate object into an AkentiOutputStream |
![]() | doRead (AkentiInputStream& source) Reads this certificate object from an AkentiInputStream |
![]() | doToXML (DOMElement* ucCertInfo) const |
![]() | doFromXML (const DOMElement* ucCertInfo) |
![]() | doParamString (ostream& os) const For debugging |
![]() | doToText (int indentAmt, ostream& os) const |
These certificates are mainly used by the stakeholders or resource owners to place a use condition on the access/usage of a resource. They also specify actions that will be awarded if the condition is satisfied.The encoding of use-condition certificate is:
UseCondCertificateImpl { type // UseCondition version // certificate's version number id // certificate's unique id issuer // issuer and signer of certificate notBefore // start validity date notAfter // end validity date signatureAlg // name of algorithm used to sign this certificate resource // name of resource UC applies to localScope critical condition // a use-condition that user must satisfy actions // actions awarded to the user if condition is // satisfied signature // digital signature of the certificate }Generating a UC certificate
UseCondCertGenerator gen; gen.setIssuer(..); gen.setAttributeInfos(..); ... gen.sign(...) AkentiCertificate cert = gen.generate()
~UseCondCertificateImpl()
string getHashString() const
const string& getResource() const
bool isScopeLocal() const
bool isCritical() const
const Condition& getCondition() const
const string& getConstraint() const
const vector <AttributeInfo> & getAttributeInfos() const
const vector
UseCondCertificateImpl* newInstance() const
void doWrite(AkentiOutputStream& drain) const
IOException void doRead(AkentiInputStream& source)
IOException if reading fails
Error if have no issuers
DistinguishedName
ParsingException
IOException
Error void doToXML(DOMElement* ucCertInfo) const
void doFromXML(const DOMElement* ucCertInfo)
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