34 #ifndef __KLEO_CHIASMUSBACKEND_H__ 35 #define __KLEO_CHIASMUSBACKEND_H__ 37 #include "kleo/cryptobackend.h" 48 class ChiasmusBackend : public Kleo::CryptoBackend { 53 static const ChiasmusBackend * instance() { return self; } 55 TQString name() const; 56 TQString displayName() const; 60 Kleo::CryptoBackend::Protocol * openpgp() const { return 0; } 61 Kleo::CryptoBackend::Protocol * smime() const { return 0; } 62 Kleo::CryptoBackend::Protocol * protocol( const char * name ) const; 64 bool checkForOpenPGP( TQString * reason=0 ) const; 65 bool checkForSMIME( TQString * reason=0 ) const; 66 bool checkForChiasmus( TQString * reason=0 ) const; 67 bool checkForProtocol( const char * name, TQString * reason=0 ) const; 69 bool supportsOpenPGP() const { return false; } 70 bool supportsSMIME() const { return false; } 71 bool supportsProtocol( const char * name ) const; 73 const char * enumerateProtocols( int i ) const; 78 mutable CryptoConfig * mCryptoConfig; 79 mutable Protocol * mProtocol; 80 static ChiasmusBackend * self; 86 #endif // __KLEO_CHIASMUSBACKEND_H__ Main interface to crypto configuration.
This class provides C++ access to the CRYPTPLUG API.
|