namespace Akenti class OpenSSLCRLImpl : public CertificateRevocationListImpl

An OpenSSLCRLImpl object is a subclass of CertificateRevocationListImpl

Inheritance:


Public Methods

OpenSSLCRLImpl (X509_CRL *crl)
Constructs an OpenSSLCRLImpl given a X509_CRL object
~OpenSSLCRLImpl ()
Deletes this object
long getVersion () const
Returns the version of this CRL
DistinguishedName getGuarantor () const
Returns the guarantor(issuer) of this CRL
string getSignature () const
Returns the signature of this CRL
UtcTime getLastUpdate () const
Returns the last update of this CRL
UtcTime getNextUpdate () const
Returns the next update for this CRL
vector <RevokedCertificate> getRevokedCertificates () const
Returns a vector which contains the certificates have been revoked
bool isRevoked (long serialnumber) const
Returns a boolean which specifies the revocation status of the given serial number of the certificate
int isRevoked (long serialnumber, const UtcTime& ctime) const
Returns a boolean which specifies the revocation status of the given serial number of the certificate

Inherited from CertificateRevocationListImpl:


Documentation

An OpenSSLCRLImpl object is a subclass of CertificateRevocationListImpl. It provides applications, albeit indirectly, with the functionality of getting the version, guarantor, signature, last update, next update of the CRL and the revoked certificates. It contains a X509_CRL structure implements its methods by wrapping OpenSSL library calls.
OpenSSLCRLImpl(X509_CRL *crl)
Constructs an OpenSSLCRLImpl given a X509_CRL object.
Parameters:
crl - X509_CRL* pointer to the X509 Certificate Revocation List (CRL)

~OpenSSLCRLImpl()
Deletes this object

long getVersion() const
Returns the version of this CRL
Returns:
long the version number

DistinguishedName getGuarantor() const
Returns the guarantor(issuer) of this CRL
Returns:
DistinguishedName the issuer of this crl

string getSignature() const
Returns the signature of this CRL
Returns:
string the signature

UtcTime getLastUpdate() const
Returns the last update of this CRL
Returns:
UtcTime the ime for last update

UtcTime getNextUpdate() const
Returns the next update for this CRL
Returns:
UtcTime the time for the next update

vector <RevokedCertificate> getRevokedCertificates() const
Returns a vector which contains the certificates have been revoked

bool isRevoked(long serialnumber) const
Returns a boolean which specifies the revocation status of the given serial number of the certificate.
Returns:
bool which indicates the revocation status of the given serial number of a certificate
Parameters:
long - serialnumber that specifies the serial number of the certificate to be checked for revocation

int isRevoked(long serialnumber, const UtcTime& ctime) const
Returns a boolean which specifies the revocation status of the given serial number of the certificate.
Returns:
int which indicates the revocation status of the given serial number of a certificate. In addition to true or false, this also includes the UNKNOWN status.
Parameters:
long - serialnumber that specifies the serial number of the certificate to be checked for revocation
UtcTime - ctime that specifies the time at which the revocation status is requested.


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

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