libcryptosec
Public Member Functions | Protected Attributes | List of all members
CertificateRevocationList Class Reference

#include <CertificateRevocationList.h>

Public Member Functions

 CertificateRevocationList (X509_CRL *crl)
 
 CertificateRevocationList (std::string pemEncoded) throw (EncodeException)
 
 CertificateRevocationList (ByteArray &derEncoded) throw (EncodeException)
 
 CertificateRevocationList (const CertificateRevocationList &crl)
 
virtual ~CertificateRevocationList ()
 
std::string getXmlEncoded ()
 
std::string getXmlEncoded (std::string tab)
 
std::string getPemEncoded () throw (EncodeException)
 
ByteArray getDerEncoded () throw (EncodeException)
 
long getSerialNumber () throw (CertificationException)
 
BigInteger getSerialNumberBigInt () throw (CertificationException, BigIntegerException)
 
long getBaseCRLNumber () throw (CertificationException)
 
BigInteger getBaseCRLNumberBigInt () throw (CertificationException, BigIntegerException)
 
long getVersion () throw (CertificationException)
 
RDNSequence getIssuer ()
 
DateTime getLastUpdate ()
 
DateTime getNextUpdate ()
 
std::vector< RevokedCertificategetRevokedCertificate ()
 
bool verify (PublicKey &publicKey)
 
X509_CRL * getX509Crl () const
 
CertificateRevocationListoperator= (const CertificateRevocationList &value)
 
std::vector< Extension * > getExtension (Extension::Name extensionName)
 
std::vector< Extension * > getExtensions ()
 
std::vector< Extension * > getUnknownExtensions ()
 

Protected Attributes

X509_CRL * crl
 

Constructor & Destructor Documentation

◆ CertificateRevocationList() [1/4]

CertificateRevocationList::CertificateRevocationList ( X509_CRL *  crl)

◆ CertificateRevocationList() [2/4]

CertificateRevocationList::CertificateRevocationList ( std::string  pemEncoded)
throw (EncodeException
)

◆ CertificateRevocationList() [3/4]

CertificateRevocationList::CertificateRevocationList ( ByteArray derEncoded)
throw (EncodeException
)

◆ CertificateRevocationList() [4/4]

CertificateRevocationList::CertificateRevocationList ( const CertificateRevocationList crl)

◆ ~CertificateRevocationList()

CertificateRevocationList::~CertificateRevocationList ( )
virtual

Member Function Documentation

◆ getBaseCRLNumber()

long CertificateRevocationList::getBaseCRLNumber ( )
throw (CertificationException
)

◆ getBaseCRLNumberBigInt()

BigInteger CertificateRevocationList::getBaseCRLNumberBigInt ( )
throw (CertificationException,
BigIntegerException
)

◆ getDerEncoded()

ByteArray CertificateRevocationList::getDerEncoded ( )
throw (EncodeException
)

◆ getExtension()

std::vector< Extension * > CertificateRevocationList::getExtension ( Extension::Name  extensionName)

◆ getExtensions()

std::vector< Extension * > CertificateRevocationList::getExtensions ( )

◆ getIssuer()

RDNSequence CertificateRevocationList::getIssuer ( )

◆ getLastUpdate()

DateTime CertificateRevocationList::getLastUpdate ( )

◆ getNextUpdate()

DateTime CertificateRevocationList::getNextUpdate ( )

◆ getPemEncoded()

std::string CertificateRevocationList::getPemEncoded ( )
throw (EncodeException
)

◆ getRevokedCertificate()

std::vector< RevokedCertificate > CertificateRevocationList::getRevokedCertificate ( )

◆ getSerialNumber()

long CertificateRevocationList::getSerialNumber ( )
throw (CertificationException
)

◆ getSerialNumberBigInt()

BigInteger CertificateRevocationList::getSerialNumberBigInt ( )
throw (CertificationException,
BigIntegerException
)

◆ getUnknownExtensions()

std::vector< Extension * > CertificateRevocationList::getUnknownExtensions ( )

◆ getVersion()

long CertificateRevocationList::getVersion ( )
throw (CertificationException
)

◆ getX509Crl()

X509_CRL * CertificateRevocationList::getX509Crl ( ) const

◆ getXmlEncoded() [1/2]

std::string CertificateRevocationList::getXmlEncoded ( )

◆ getXmlEncoded() [2/2]

std::string CertificateRevocationList::getXmlEncoded ( std::string  tab)

◆ operator=()

CertificateRevocationList & CertificateRevocationList::operator= ( const CertificateRevocationList value)

◆ verify()

bool CertificateRevocationList::verify ( PublicKey publicKey)

Member Data Documentation

◆ crl

X509_CRL* CertificateRevocationList::crl
protected

The documentation for this class was generated from the following files: