Class AttributeCertificateImpl
is an implementation
class for AkentiCertificate
![]() | AttributeCertGenerator () Constructs this object |
![]() | ~AttributeCertGenerator () Destroys this object |
![]() | setAttribute (const string& attribute) Sets the attributes for a particular certificate |
![]() | setValue (const string& value) Sets the value for the attribute |
![]() | setPrincipal (const AkentiPrincipal& principal) Sets the principal for the Akenti Certificate |
![]() | addAkentiExtension (const AkentiExtension& extensions) Sets the Akenti Extensions to this certificate |
![]() | AttributeCertificateImpl () Default Constructor |
![]() | ~AttributeCertificateImpl () Default destructor |
![]() | newInstance () const |
![]() | getHashString () const |
![]() | getAttribute () const |
![]() | getValue () const |
![]() | getAkentiExtensions () const |
![]() | getPrincipal () const |
![]() | doWrite (AkentiOutputStream& drain) const |
![]() | doRead (AkentiInputStream& source) |
![]() | doParamString (ostream& os) const |
ClassAttributeCertificateImpl
is an implementation class for AkentiCertificate.The format for an attribute certificate is:
AttributeCertificateImpl { type useCondCertificate id Certificate unique id Issuer Issuer and signer of certificate version Certificate format version NotBefore cert is not valid before NotAfter cert is not valid after signatureAlg signature algorithm Attribute attribute name Value attribute value Extensions vector of additonal constraints on this attribute Signature SignatureInfo }These certificates are mainly used to authorize a subject for a certain
pair in order to satisfy the constraints in a UseCondCertificate
. Akenti Extensions are provided in case, there is a necessity to specify more specific attributes or constraints.Certificates are generated through AkentiCertificateFactory. There are different generators that are used in order to generate appropriate certificates. There are two ways in which an Attribute Certificate can be generated First way,
AttributeCertificate cert = AkentiCertificateFactory.getInstance("AttributeCert"); cert.readObject(AkentiInputStream& stream);
Second way,
AkentiCertGenerator attrCertGen = AkentiCertificateFactory.getInstance("AttributeCertGen"); attrCertGen.setGuarantor(..); attrCertGen.setAttribute(..); .......... AttributeCertificateImpl attrcert = attrCertGen.generate(); // In order to write the object into the output stream or encode the object // do the following attrcert.writeObject(AkentiOutputStream& stream);
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