class AkentiCertificateImpl |
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 * } *
Subclass implementors must implement the pure virtual function doParamString(ostream&) so that the additional params are included.
Alphabetic index HTML hierarchy of classes or Java