|
Qt Cryptographic Architecture
|
#include <QtCrypto>

Public Member Functions | |
| CertBase (Provider *p, const QString &type) | |
| virtual ConvertResult | fromDER (const QByteArray &a)=0 |
| virtual ConvertResult | fromPEM (const QString &s)=0 |
| virtual QByteArray | toDER () const =0 |
| virtual QString | toPEM () const =0 |
| Public Member Functions inherited from QCA::Provider::Context | |
| virtual Context * | clone () const =0 |
| Provider * | provider () const |
| bool | sameProvider (const Context *c) const |
| QString | type () const |
Additional Inherited Members | |
| Protected Member Functions inherited from QCA::BasicContext | |
| BasicContext (const BasicContext &from) | |
| BasicContext (Provider *parent, const QString &type) | |
| Protected Member Functions inherited from QCA::Provider::Context | |
| Context (const Context &from) | |
| Context (Provider *parent, const QString &type) | |
X.509 certificate and certificate request provider base.
|
inline |
Standard constructor.
| p | the provider associated with this context |
| type | the type of certificate-like object provided by this context |
References QCA::BasicContext::BasicContext(), and QCA::Provider::Context::type().
Referenced by QCA::CertContext::CertContext(), QCA::CRLContext::CRLContext(), and QCA::CSRContext::CSRContext().
|
pure virtual |
Convert this object to DER format, and return the value.
Returns an empty array on error.
|
pure virtual |
Convert this object to PEM format, and return the value.
Returns an empty string on error.
|
pure virtual |
Read DER-formatted input and convert it into this object.
Returns QCA::ConvertGood if successful, otherwise some error value.
| a | the input data |
|
pure virtual |
Read PEM-formatted input and convert it into this object.
Returns QCA::ConvertGood if successful, otherwise some error value.
| s | the input data |