class CertificateImpl

This abstract class defines an interface to a generic signed certificate

Inheritance:


Public Methods

virtual ~CertificateImpl ()
Deletes this object
virtual string getType () const
Returns the type of this certificate
virtual long hashCode () const
virtual string getEncoded () const
Encodes this certificate
virtual PublicKey getSubjectPublicKey () const
Returns the subject's publicKey of this certificate
virtual bool verify (const PublicKey& publicKey) const
Returns bool value to indicate the correctness of this certificate
virtual string getFormat () const
Returns format of this certificate
virtual DistinguishedName getGuarantor () const
Returns guarantor of this certificate
virtual DistinguishedName getPrincipal () const
Returns principal of this certificate
virtual long getSerialNumber () const
Returns serialNumber of this certificate
virtual string getSignature () const
Returns signature of this certificate
virtual string getSignable () const
Returns the information that you need to sign
virtual string getSignatureAlgorithm () const
Returns the signature's algorithm name of this certificate
virtual long getVersionNumber () const
Returns the versionNumber of this certificate
virtual UtcTime getNotBefore () const
Returns GMT time for the beginning time of valid usage of this certificate
virtual string getRevocationURL () const
virtual UtcTime getNotAfter () const
Returns GMT time for the ending time of valid usage of this certificate
bool checkValidity () const
Checks validity of this certificate comparing to current time
bool checkValidity (const UtcTime& utcTime) const
Checks validity of this certificate comparing to given time
virtual string getHashString () const
virtual string toText () const
virtual string paramString () const
Returns the string of items related to this certificate for correctness check

Protected Methods

CertificateImpl ()
Constructs this object

Documentation

This abstract class defines an interface to a generic signed certificate. A certficate is constant once it has been generated, so this class only defines methods to get fields of the certificate such as type, versionNumber, serialNumber, signature that a certificate supports. A certificate is created by the CertificateGenerator class. OpenSSLX509Certificate is currently the only subclass of this class. The rest of the Akenti certificates are subclasses of AkentiCertificateImpl.
virtual ~CertificateImpl()
Deletes this object

virtual string getType() const
Returns the type of this certificate.

virtual long hashCode() const

virtual string getEncoded() const
Encodes this certificate

virtual PublicKey getSubjectPublicKey() const
Returns the subject's publicKey of this certificate

virtual bool verify(const PublicKey& publicKey) const
Returns bool value to indicate the correctness of this certificate

virtual string getFormat() const
Returns format of this certificate

virtual DistinguishedName getGuarantor() const
Returns guarantor of this certificate

virtual DistinguishedName getPrincipal() const
Returns principal of this certificate

virtual long getSerialNumber() const
Returns serialNumber of this certificate

virtual string getSignature() const
Returns signature of this certificate

virtual string getSignable() const
Returns the information that you need to sign

virtual string getSignatureAlgorithm() const
Returns the signature's algorithm name of this certificate

virtual long getVersionNumber() const
Returns the versionNumber of this certificate

virtual UtcTime getNotBefore() const
Returns GMT time for the beginning time of valid usage of this certificate

virtual string getRevocationURL() const

virtual UtcTime getNotAfter() const
Returns GMT time for the ending time of valid usage of this certificate

bool checkValidity() const
Checks validity of this certificate comparing to current time

bool checkValidity(const UtcTime& utcTime) const
Checks validity of this certificate comparing to given time

virtual string getHashString() const

virtual string toText() const

virtual string paramString() const
Returns the string of items related to this certificate for correctness check

CertificateImpl()
Constructs this object


Direct child classes:
OpenSSLX509CertificateImpl
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
UtcTime
PublicKey
DistinguishedName
Signature
AkentiCertificateImpl

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