class Akenti::CertificateImpl

This abstract class defines an interface to a generic signed certificate.

Inheritance:


Public Methods

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

Protected Methods

[more] 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.

ovirtual ~CertificateImpl()
Deletes this object

ovirtual string getType() const = 0
Returns the type of this certificate.

ovirtual long hashCode() const = 0

ovirtual string getEncoded() const = 0
Encodes this certificate

ovirtual PublicKey getSubjectPublicKey() const = 0
Returns the subject's publicKey of this certificate

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

ovirtual string getFormat() const = 0
Returns format of this certificate

ovirtual DistinguishedName getGuarantor() const = 0
Returns guarantor of this certificate.

ovirtual DistinguishedName getPrincipal() const = 0
Returns principal of this certificate

ovirtual long getSerialNumber() const = 0
Returns serialNumber of this certificate

ovirtual string getSignature() const = 0
Returns signature of this certificate

ovirtual string getSignable() const = 0
Returns the information that you need to sign

ovirtual string getSignatureAlgorithm() const = 0
Returns the signature's algorithm name of this certificate

ovirtual long getVersionNumber() const = 0
Returns the versionNumber of this certificate

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

ovirtual string getRevocationURL() const = 0

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

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

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

ovirtual string getHashString() const = 0

ovirtual string toText() const = 0

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

o 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 HTML hierarchy of classes or Java



This page was generated with the help of DOC++.