#include <QtCrypto>
X.509 certificate and certificate request provider base.
- Note
- This class is part of the provider plugin interface and should not be used directly by applications. You probably want Certificate, CertificateRequest, or CRL instead.
◆ CertBase()
QCA::CertBase::CertBase |
( |
Provider * |
p, |
|
|
const QString & |
type |
|
) |
| |
|
inline |
Standard constructor.
- Parameters
-
p | the provider associated with this context |
type | the type of certificate-like object provided by this context |
◆ toDER()
virtual QByteArray QCA::CertBase::toDER |
( |
| ) |
const |
|
pure virtual |
Convert this object to DER format, and return the value.
Returns an empty array on error.
◆ toPEM()
virtual QString QCA::CertBase::toPEM |
( |
| ) |
const |
|
pure virtual |
Convert this object to PEM format, and return the value.
Returns an empty string on error.
◆ fromDER()
virtual ConvertResult QCA::CertBase::fromDER |
( |
const QByteArray & |
a | ) |
|
|
pure virtual |
Read DER-formatted input and convert it into this object.
Returns QCA::ConvertGood if successful, otherwise some error value.
- Parameters
-
◆ fromPEM()
virtual ConvertResult QCA::CertBase::fromPEM |
( |
const QString & |
s | ) |
|
|
pure virtual |
Read PEM-formatted input and convert it into this object.
Returns QCA::ConvertGood if successful, otherwise some error value.
- Parameters
-
The documentation for this class was generated from the following file: