QCA::PGPKeyContext
QCA::PGPKeyContext Class Referenceabstract
#include <QtCrypto>
Inheritance diagram for QCA::PGPKeyContext:

Public Member Functions | |
PGPKeyContext (Provider *p) | |
virtual ConvertResult | fromAscii (const QString &s)=0 |
virtual ConvertResult | fromBinary (const QByteArray &a)=0 |
virtual const PGPKeyContextProps * | props () const =0 |
virtual QString | toAscii () const =0 |
virtual QByteArray | toBinary () const =0 |
Additional Inherited Members | |
![]() | |
BasicContext (const BasicContext &from) | |
BasicContext (Provider *parent, const QString &type) | |
Detailed Description
OpenPGP key provider
- Note
- This class is part of the provider plugin interface and should not be used directly by applications. You probably want PGPKey instead.
Definition at line 1804 of file qcaprovider.h.
Constructor & Destructor Documentation
◆ PGPKeyContext()
|
inline |
Standard constructor.
- Parameters
-
p the Provider associated with this context
Definition at line 1813 of file qcaprovider.h.
Member Function Documentation
◆ fromAscii()
|
pure virtual |
Read ascii-armored input and convert it into a key.
Returns QCA::ConvertGood if successful, otherwise some error value.
- Parameters
-
s the input data
◆ fromBinary()
|
pure virtual |
Read binary input and convert it into a key.
Returns QCA::ConvertGood if successful, otherwise some error value.
- Parameters
-
a the input data
◆ props()
|
pure virtual |
Returns a pointer to the properties of this key.
◆ toAscii()
|
pure virtual |
Convert the key to ascii-armored format, and return the value.
◆ toBinary()
|
pure virtual |
Convert the key to binary format, and return the value.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 03:55:34 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 03:55:34 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.