This class provides the implementation of an attribute certificate
![]() | AttributeCertificateImpl () Default Constructor |
![]() | ~AttributeCertificateImpl () Default destructor |
![]() | getHashString () const |
![]() | getPrincipal () const |
![]() | getAttribute () const |
![]() | getValue () const |
![]() | containsCondition () const |
![]() | getCondition () const |
![]() | getConstraint () const |
![]() | getAttributeInfos () const |
![]() | newInstance () const |
![]() | doWrite (AkentiOutputStream& drain) const |
![]() | doRead (AkentiInputStream& source) |
![]() | doToXML (DOMElement* attrCertInfo) const |
![]() | doFromXML (const DOMElement* attrCertInfo) |
![]() | doParamString (ostream& os) const |
![]() | doToText (int indentAmt, ostream& os) const |
This class provides the implementation of an attribute certificate. This certificate, once verified, will attest that the user satisfies the attribute/value pair contained in this certificate. This certificate may contain a Condition that will need to be evaluated before the user is said to satisfy the attribute/value pair. These certificates are usually collected by the engine when evaluating the boolean expression contained inside a UseCondition certificate.The format for an attribute certificate is:
AttributeCertificateImpl { type // Attribute version // certificate's version number id // certificate's unique id issuer // issuer and signer of certificate notBefore // start validity time notAfter // end validity time signatureAlg // signature algorithm attribute // attribute's name value // attribute's value condition // constraint and the corresponding attributeInfos signature // digital signature }Generating an attribute certificate:
AttributeCertGenerator gen; gen.setIssuer(..); gen.setAttribute(..); ... gen.sign(...). AkentiCertificate cert = gen.generate();
~AttributeCertificateImpl()
string getHashString() const
const AkentiPrincipal& getPrincipal() const
const string& getAttribute() const
const string& getValue() const
bool containsCondition() const
const Condition& getCondition() const
const string& getConstraint() const
const vector <AttributeInfo> & getAttributeInfos() const
AttributeCertificateImpl* newInstance() const
void doWrite(AkentiOutputStream& drain) const
void doRead(AkentiInputStream& source)
void doToXML(DOMElement* attrCertInfo) const
void doFromXML(const DOMElement* attrCertInfo)
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