certmanager/lib
- certmanager
- lib
- backends
- qgpgme
34#ifndef __KLEO_TQGPGMEBACKEND_H__
35#define __KLEO_TQGPGMEBACKEND_H__
37#include "kleo/cryptobackend.h"
49 class QGpgMEBackend : public Kleo::CryptoBackend {
54 TQString name() const;
55 TQString displayName() const;
57 CryptoConfig * config() const;
59 Protocol * openpgp() const;
60 Protocol * smime() const;
61 Protocol * protocol( const char * name ) const;
63 bool checkForOpenPGP( TQString * reason=0 ) const;
64 bool checkForSMIME( TQString * reason=0 ) const;
65 bool checkForProtocol( const char * name, TQString * reason ) const;
67 bool supportsOpenPGP() const { return true; }
68 bool supportsSMIME() const { return true; }
69 bool supportsProtocol( const char * name ) const;
71 const char * enumerateProtocols( int i ) const;
74 mutable QGpgMECryptoConfig * mCryptoConfig;
75 mutable CryptPlugWrapper * mOpenPGPProtocol;
76 mutable CryptPlugWrapper * mSMIMEProtocol;
This class provides C++ access to the CRYPTPLUG API.
Main interface to crypto configuration.
CryptoConfig implementation around the gpgconf command-line tool For method docu, see kleo/cryptoconf...
|