#include <QtCrypto>
Collaboration diagram for QCA::CertificateCollection:
Public Member Functions | |
CertificateCollection () | |
CertificateCollection (const CertificateCollection &from) | |
CertificateCollection & | operator= (const CertificateCollection &from) |
void | addCertificate (const Certificate &cert) |
void | addCRL (const CRL &crl) |
QList< Certificate > | certificates () const |
QList< CRL > | crls () const |
void | append (const CertificateCollection &other) |
CertificateCollection | operator+ (const CertificateCollection &other) const |
CertificateCollection & | operator+= (const CertificateCollection &other) |
bool | toFlatTextFile (const QString &fileName) |
bool | toPKCS7File (const QString &fileName, const QString &provider=QString()) |
Static Public Member Functions | |
static bool | canUsePKCS7 (const QString &provider=QString()) |
static CertificateCollection | fromFlatTextFile (const QString &fileName, ConvertResult *result=0, const QString &provider=QString()) |
static CertificateCollection | fromPKCS7File (const QString &fileName, ConvertResult *result=0, const QString &provider=QString()) |
CertificateCollection provides a bundle of Certificates and Certificate Revocation Lists (CRLs), not necessarily related.
certtest.cpp, and ssltest.cpp.
|
Create an empty Certificate / CRL collection.
|
|
Standard copy constructor.
|
|
Standard assignment operator.
|
|
Append a Certificate to this collection.
|
|
Append a CRL to this collection.
|
|
The Certificates in this collection.
|
|
The CRLs in this collection.
|
|
Add another CertificateCollection to this collection.
|
|
Add another CertificateCollection to this collection.
|
|
Add another CertificateCollection to this collection.
|
|
test if the CertificateCollection can be imported and exported to PKCS#7 format
|
|
export the CertificateCollection to a plain text file
|
|
export the CertificateCollection to a PKCS#7 file
|
|
import a CertificateCollection from a text file
|
|
import a CertificateCollection from a PKCS#7 file
|