namespace Akenti class OpenSSLX509CertificateImpl : public CertificateImpl

This class is the subclass of CertificateImpl and it provides all the services the opensl X509 certificate supports

Inheritance:


Public Methods

OpenSSLX509CertificateImpl (X509 *x509)
Constructs this object takes X509 as type
~OpenSSLX509CertificateImpl ()
Deletes this object
string getType () const
Returns the type X509 of this certificate
PublicKey getSubjectPublicKey () const
Returns publicKey of this certificate
long getVersionNumber () const
Returns the versionNumber of this certificate
UtcTime getNotBefore () const
Returns the earliest time that the certificate is valid
UtcTime getNotAfter () const
Returns the latest time that the certificate is valid
long getSerialNumber () const
Returns the serialNumber of this certificate, which together with the issuing CA's name, uniquely identifies this certificate
string getSignature () const
Returns the signature of this certificate
string getSignatureAlgorithm () const
Returns signatureAlgorithm of this certificate
string getFormat () const
Returns format of this certificate
DistinguishedName getGuarantor () const
Returns CA that signed this certificate
DistinguishedName getPrincipal () const
Returns subject of this certificate
string getRevocationURL () const
Returns RevocationURL for the CA that issued this certificate
bool verify (const PublicKey& publicKey) const
Returns the PublicKey stored in this certificate
string paramString () const
Returns a string represenation of this certificate
long hashCode () const
string getSignable () const
Returns the part of this certificate that is signed
string getEncoded () const
Returns the DER encoding for this certificate
string getEncoded (const string& type) const
Returns either the DER or PEM encoding of the certificate depending on the value of type
string getHashString () const
string toText () const

Inherited from CertificateImpl:

Public Methods

bool checkValidity() const
bool checkValidity(const UtcTime& utcTime) const

Documentation

This class is the subclass of CertificateImpl and it provides all the services the opensl X509 certificate supports. This class contains a openssl X509 structure and basically acts as a wrapper to functions that act on that structure. Within the Akenti code these certificates (actually a ref_ptr to the certificateImpl) is kept in an AkentiX509CertificateImpl which is a subclass of AkentiCertificateImpl and supports all the methods of the superclass. Thus Akenti code normally refers to the AkentiX509Certificate rather than this class. Methods in this class are called by the AkentiX509CertificateImpl. As this class is part of the shared library, it may be used directly by code other than Akenti.
OpenSSLX509CertificateImpl(X509 *x509)
Constructs this object takes X509 as type

~OpenSSLX509CertificateImpl()
Deletes this object

string getType() const
Returns the type X509 of this certificate.
See Also:
param x509

PublicKey getSubjectPublicKey() const
Returns publicKey of this certificate

long getVersionNumber() const
Returns the versionNumber of this certificate

UtcTime getNotBefore() const
Returns the earliest time that the certificate is valid

UtcTime getNotAfter() const
Returns the latest time that the certificate is valid

long getSerialNumber() const
Returns the serialNumber of this certificate, which together with the issuing CA's name, uniquely identifies this certificate

string getSignature() const
Returns the signature of this certificate

string getSignatureAlgorithm() const
Returns signatureAlgorithm of this certificate

string getFormat() const
Returns format of this certificate

DistinguishedName getGuarantor() const
Returns CA that signed this certificate

DistinguishedName getPrincipal() const
Returns subject of this certificate

string getRevocationURL() const
Returns RevocationURL for the CA that issued this certificate

bool verify(const PublicKey& publicKey) const
Returns the PublicKey stored in this certificate

string paramString() const
Returns a string represenation of this certificate

long hashCode() const

string getSignable() const
Returns the part of this certificate that is signed

string getEncoded() const
Returns the DER encoding for this certificate

string getEncoded(const string& type) const
Returns either the DER or PEM encoding of the certificate depending on the value of type

string getHashString() const

string toText() const


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
CertificateImpl
PublicKey
UtcTime
DistinguishedName

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