• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qca

QCA::PGPKeyContext

QCA::PGPKeyContext Class Reference
[QCA provider API]

OpenPGP key provider. More...

#include <QtCrypto>

Inheritance diagram for QCA::PGPKeyContext:
Inheritance graph
[legend]

List of all members.

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

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 1664 of file qcaprovider.h.


Constructor & Destructor Documentation

QCA::PGPKeyContext::PGPKeyContext ( Provider *  p  )  [inline]

Standard constructor.

Parameters:
p the Provider associated with this context

Definition at line 1673 of file qcaprovider.h.


Member Function Documentation

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:
s the input data
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:
a the input data
virtual const PGPKeyContextProps* QCA::PGPKeyContext::props (  )  const [pure virtual]

Returns a pointer to the properties of this key.

virtual QString QCA::PGPKeyContext::toAscii (  )  const [pure virtual]

Convert the key to ascii-armored format, and return the value.

virtual QByteArray QCA::PGPKeyContext::toBinary (  )  const [pure virtual]

Convert the key to binary format, and return the value.


The documentation for this class was generated from the following file:
  • qcaprovider.h

qca

Skip menu "qca"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal