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 |
ClassUseCondCertificateImpl
is 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(...)
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