QCA::CertBase
#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 |
Additional Inherited Members | |
![]() | |
BasicContext (const BasicContext &from) | |
BasicContext (Provider *parent, const QString &type) | |
Detailed Description
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.
Definition at line 1061 of file qcaprovider.h.
Constructor & Destructor Documentation
◆ CertBase()
Standard constructor.
- Parameters
-
p the provider associated with this context type the type of certificate-like object provided by this context
Definition at line 1071 of file qcaprovider.h.
Member Function Documentation
◆ fromDER()
|
pure virtual |
Read DER-formatted input and convert it into this object.
Returns QCA::ConvertGood if successful, otherwise some error value.
- Parameters
-
a the input data
◆ fromPEM()
|
pure virtual |
Read PEM-formatted input and convert it into this object.
Returns QCA::ConvertGood if successful, otherwise some error value.
- Parameters
-
s the input data
◆ toDER()
|
pure virtual |
Convert this object to DER format, and return the value.
Returns an empty array on error.
◆ toPEM()
|
pure virtual |
Convert this object to PEM format, and return the value.
Returns an empty string on error.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 03:50:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.