class UseCondCertificateImpl |
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()
Alphabetic index HTML hierarchy of classes or Java