Qt Cryptographic Architecture
|
#include <QtCrypto>
Public Member Functions | |
CertCollectionContext (Provider *p) | |
virtual ConvertResult | fromPKCS7 (const QByteArray &a, QList< CertContext * > *certs, QList< CRLContext * > *crls) const =0 |
virtual QByteArray | toPKCS7 (const QList< CertContext * > &certs, const QList< CRLContext * > &crls) const =0 |
Additional Inherited Members | |
![]() | |
BasicContext (Provider *parent, const QString &type) | |
BasicContext (const BasicContext &from) | |
X.509 certificate collection provider.
|
inline |
Standard constructor.
p | the provider associated with this context |
|
pure virtual |
Create PKCS#7 DER output based on the input certificates and CRLs.
Returns an empty array on error.
certs | list of certificates to store in the output |
crls | list of CRLs to store in the output |
|
pure virtual |
Read PKCS#7 DER input and convert it into a list of certificates and CRLs.
The caller is responsible for deleting the returned items.
Returns QCA::ConvertGood if successful, otherwise some error value.
a | the input data |
certs | the destination list for the certificates |
crls | the destination list for the CRLs |