namespace Akenti class UseCondCertificateImpl : public AkentiCertificateImpl
Class UseCondCertificateImpl is an implementation
class for AkentiCertificate
| | UseCondCertGenerator () Creates this object |
| | ~UseCondCertGenerator () Destroys this object |
| | setResource (const string& resource) Sets the resource |
| | setLocalScope (bool scope) |
| | setUseCondition (const UseCondition& useCondition) |
| | setEnable (bool enable) |
| | setActions (const vector |
| | setSubjectCAS (const vector<DistinguishedName>& subjectCAS) |
| | UseCondCertificateImpl () Default constructor |
| | ~UseCondCertificateImpl () Default destructor |
| | newInstance () const |
| | getResource () const Returns the resource value from this certificate |
| | getScope () const Returns the scope value from this certificate |
| | getUseCondition () const Returns the useCondition value from this certificate |
| | getEnable () const Returns the enable value from this certificate |
| | getActions () const Returns the actions list from this certificate |
| | getAttributes () const Returns the attribute list from this certificate |
| | containsSubjectCA (const DistinguishedName& ca) const |
| | getSubjectCAs () const Returns the subjectCA list from this certificate |
| | getHashString () const |
| | doWrite (AkentiOutputStream& drain) const Writes this certificate object into an AkentiOutputStream |
| | doRead (AkentiInputStream& source) Reads this certificate object from an AkentiInputStream |
| | doParamString (ostream& os) const Displays the information contained in this certificate in a user friendly manner, for debugging purposes |
ClassUseCondCertificateImplis an implementation class for AkentiCertificate.The format for an use-condition certificate is:
UseCondCertificateImpl { resource name of resource UC applies to isScopeLocal does UC only apply locally or to subtree enable all users must statifsy this UC, provides vetoover other use-condition certificates useCondition expression that user must satisfy SubjectCertAuthority vector of CA's that are trusted for this resource Signature SignatureInfo } These certificates are mainly used by the stakeholders (resource owners) in order to provide constraints on the access/usage of their resources.
Reading a UC certificate from a stream
AkentiCertificate cert = AkentiCertificateFactory.getInstance("UseCondCert"); cert.readObject(stream);
Generating a UC certificate
UseCondCertGenerator gen; gen.setGuarantor(..);
gen.setAttribute(..);
...
AkentiCertificate cert = gen.sign(...)
~UseCondCertGenerator()
void setResource(const string& resource)
void setLocalScope(bool scope)
void setUseCondition(const UseCondition& useCondition)
void setEnable(bool enable)
void setActions(const vector
void setSubjectCAS(const vector<DistinguishedName>& subjectCAS)
UseCondCertificateImpl()
~UseCondCertificateImpl()
UseCondCertificateImpl* newInstance() const
const string& getResource() const
bool getScope() const
const UseCondition& getUseCondition() const
bool getEnable() const
const vector
const vector <Attribute> & getAttributes() const
bool containsSubjectCA(const DistinguishedName& ca) const
const vector <DistinguishedName> & getSubjectCAs() const
string getHashString() 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 doParamString(ostream& os) const
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