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