class OpenSSLCRLImpl

An OpenSSLCRLImpl object is a subclass of CertificateRevocationListImpl.

Inheritance:


Public Methods

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

o OpenSSLCRLImpl(X509_CRL* crl)
Constructs an OpenSSLCRLImpl given a X509_CRL object.

Parameters:
crl - X509_CRL* pointer to the X509 Certificate Revocation List (CRL)

o ~OpenSSLCRLImpl()
Deletes this object

olong getVersion() const
Returns the version of this CRL

Returns:
long the version number

oDistinguishedName getGuarantor() const
Returns the guarantor(issuer) of this CRL

Returns:
DistinguishedName the issuer of this crl

ostring getSignature() const
Returns the signature of this CRL

Returns:
string the signature

oUtcTime getLastUpdate() const
Returns the last update of this CRL

Returns:
UtcTime the ime for last update

oUtcTime getNextUpdate() const
Returns the next update for this CRL

Returns:
UtcTime the time for the next update

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

obool isRevoked(long serialnumber) const
Returns a boolean which specifies the revocation status of the given serial number of the certificate.

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

oint isRevoked(long serialnumber, const UtcTime& ctime) const
Returns a boolean which specifies the revocation status of the given serial number of the certificate.

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.
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.


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

Alphabetic index HTML hierarchy of classes or Java



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