34#ifndef __KLEO_KPGPBACKENDBASE_H__
35#define __KLEO_KPGPBACKENDBASE_H__
37#include "kleo/cryptobackend.h"
39#define GPG1_BACKEND_NAME "Kpgp/gpg1"
40#define PGP2_BACKEND_NAME "Kpgp/pgp2"
41#define PGP5_BACKEND_NAME "Kpgp/pgp5"
42#define PGP6_BACKEND_NAME "Kpgp/pgp6"
52 class KpgpBackendBase : public Kleo::CryptoBackend {
57 CryptoConfig * config() const { return 0; }
58 Protocol * openpgp() const;
59 Protocol * smime() const { return 0; }
61 bool supportsOpenPGP() const { return true; }
62 bool supportsSMIME() const { return false; }
64 bool checkForOpenPGP( TQString * reason=0 ) const;
65 bool checkForSMIME( TQString * reason=0 ) const;
67 mutable KpgpWrapper * mOpenPGPProtocol;
|