#include <QtCrypto>
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.
QCA::PGPKeyContext::PGPKeyContext |
( |
Provider * |
p | ) |
|
|
inline |
Standard constructor.
- Parameters
-
p | the Provider associated with this context |
Returns a pointer to the properties of this key.
virtual QByteArray QCA::PGPKeyContext::toBinary |
( |
| ) |
const |
|
pure virtual |
Convert the key to binary format, and return the value.
virtual QString QCA::PGPKeyContext::toAscii |
( |
| ) |
const |
|
pure virtual |
Convert the key to ascii-armored format, and return the value.
virtual ConvertResult QCA::PGPKeyContext::fromBinary |
( |
const QByteArray & |
a | ) |
|
|
pure virtual |
Read binary input and convert it into a key.
Returns QCA::ConvertGood if successful, otherwise some error value.
- Parameters
-
virtual ConvertResult QCA::PGPKeyContext::fromAscii |
( |
const QString & |
s | ) |
|
|
pure virtual |
Read ascii-armored input and convert it into a key.
Returns QCA::ConvertGood if successful, otherwise some error value.
- Parameters
-
The documentation for this class was generated from the following file: