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
Principal 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 (const long& serialnumber) const
Returns a boolean which specifies the revocation status of the given serial number of the certificate
int isRevoked (const long& serialnumber, const UtcTime& ctime) const
Returns a boolean which specifies the revocation status of the given serial number of the certificate

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
See Also:
X509_CRL_get_version(X509_CRL)

Principal getGuarantor() const
Returns the guarantor(issuer) of this CRL
Returns:
Principal the guarantor
See Also:
X509_NAME_oneline(X509_CRL_get_issuer(X509_CRL), char *, int)
Principal(string)

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

UtcTime getLastUpdate() const
Returns the last update of this CRL
Returns:
UtcTime the utctime for last update
See Also:
ASN1_UTCTIME
X509_CRL_get_lastUpdate(X509_CRL)
UtcTime(char *)

UtcTime getNextUpdate() const
Returns the next update for this CRL
Returns:
UtcTime the utctime for the next update
See Also:
ASN1_UTCTIME
UtcTime(char *)

vector <RevokedCertificate> getRevokedCertificates() const
Returns a vector which contains the certificates have been revoked.
See Also:
sk_X509_REVOKED_num
X509_REVOKED
OpenSSLX509RevokedCertificateImpl
UtcTime(char *)

bool isRevoked(const 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(const 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
Principal
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