This abstract class is the base for all the akenti certificates implementations
![]() | ~AkentiCertificateImpl () Destroys this object |
![]() | hashCode () const Computes the md5 hashcode of this AkentiCertificateImpl object for searching purposes |
![]() | getHashString () const Returns the approriate hash string whose digest will be used to simplify certificate retrieval process |
![]() | getType () const Returns the type of this AkentiCertificateImpl object |
![]() | hasType (const string& type) const Returns true if this certificate's type is equal to the argument specified by type |
![]() | getVersionNumber () const Returns the version number of this AkentiCertificateImpl object |
![]() | getUniqueID () const Returns the unique id of this AkentiCertificateImpl object |
![]() | getIssuer () const Returns the issuer of this AkentiCertificateImpl object |
![]() | getNotBefore () const Returns the start validity date of this AkentiCertificateImpl object |
![]() | getNotAfter () const Returns the end validity date of this AkentiCertificateImpl object |
![]() | verify (const PublicKey& publicKey) const Verifies the signature of AkentiCertificateImpl object using a PublicKey specified by publicKey |
![]() | getSignable () const Returns the signable portion of this AkentiCertificateImpl object |
![]() | getCanonAlg () const Returns the name of the formatting algorithm that was used for the signature or pem encoding |
![]() | getSignatureAlg () const Returns the signature algorithm that was used to sign this AkentiCertificateImpl object |
![]() | getSignature () const Returns the signature that resulted from signing the signable part of this AkentiCertificateImpl object |
![]() | checkValidity (const UtcTime& utcTime) const Is this AkentiCertificateImpl valid at the time specified by utcTime? |
![]() | checkValidity () const Is this AkentiCertificateImpl valid now? |
![]() | paramString () const Returns debugging info |
![]() | toText (int indentAmt = 0) const Returns the Akenti Certificate in text format |
![]() | toLogString () const Returns logging info |
![]() | AkentiCertificateImpl (const string& type = "NO_TYPE") Constructs this object given a string specified by type |
![]() | doWrite (AkentiOutputStream& drain) const |
![]() | doRead (AkentiInputStream& source) |
![]() | doToXML (DOMElement* element) const |
![]() | doFromXML (const DOMElement* element) |
![]() | newInstance () const Returns an instance of the concrete class |
![]() | doParamString (ostream& os) const |
![]() | doToText (int indentAmt, ostream& os) const |
This abstract class is the base for all the akenti certificates implementations.We have designed all the certificates to be immutable. Subclass Implementors should adhere to this policy.
1) The set methods should be accessed by the genarators only.
2) The doReadObject should be protected.
Encoding Rules:
1) The various fields are separated by one blank space.
2) The AkentiOutputStream is configured
to write primitive types and user define types.
Note:
The encoding is straightforward with the exception of the version number which is preceded by the character 'V'.CertificateEncoding { type // certificate's type version // certificate's version number id // certificate's unique id issuer // issuer and signer of certificate notBefore // start validity date notAfter // end validity date canonAlg // name of algorithm used to format certificate for signing or pem encoding. signatureAlg // name of algorithm used to sign this certificate ... // fields contained in the concrete subclasses signature // digital signature of the certificate }
virtual string hashCode() const
virtual string getHashString() const
const string& getType() const
bool hasType(const string& type) const
int getVersionNumber() const
const string& getUniqueID() const
const AkentiIssuer& getIssuer() const
const UtcTime& getNotBefore() const
const UtcTime& getNotAfter() const
bool verify(const PublicKey& publicKey) const
virtual string getSignable() const
const string& getCanonAlg() const
const string& getSignatureAlg() const
const string& getSignature() const
sign(string, PrivateKey) bool checkValidity(const UtcTime& utcTime) const
getNotAfter()
UtcTime bool checkValidity() const
getNotAfter()
UtcTime string paramString() const
string toText(int indentAmt = 0) const
string toLogString() const
AkentiCertificateImpl(const string& type = "NO_TYPE")
virtual void doWrite(AkentiOutputStream& drain) const
virtual void doRead(AkentiInputStream& source)
virtual void doToXML(DOMElement* element) const
virtual void doFromXML(const DOMElement* element)
virtual AkentiCertificateImpl* newInstance() 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