class Akenti::OpenSSLX509CertificateImpl

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

Inheritance:


Public Methods

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


Inherited from CertificateImpl:

Public Methods

obool checkValidity() const
obool 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.

o OpenSSLX509CertificateImpl(X509* x509)
Constructs this object takes X509 as type

o ~OpenSSLX509CertificateImpl()
Deletes this object

ostring getType() const
Returns the type X509 of this certificate.

See Also:
param x509

oPublicKey getSubjectPublicKey() const
Returns publicKey of this certificate

olong getVersionNumber() const
Returns the versionNumber of this certificate.

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

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

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

ostring getSignature() const
Returns the signature of this certificate.

ostring getSignatureAlgorithm() const
Returns signatureAlgorithm of this certificate

ostring getFormat() const
Returns format of this certificate

oDistinguishedName getGuarantor() const
Returns CA that signed this certificate

oDistinguishedName getPrincipal() const
Returns subject of this certificate

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

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

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

olong hashCode() const

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

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

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

ostring getHashString() const

ostring toText() const


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

Alphabetic index HTML hierarchy of classes or Java



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