37 #include "kpgpwrapper.h"
39 #include "kpgpbackendbase.h"
43 #include <backends/kpgp/kpgpkeylistjob.h>
59 KpgpWrapper::KpgpWrapper(
const TQString & name )
66 KpgpWrapper::~KpgpWrapper()
71 TQString KpgpWrapper::name()
const
76 TQString KpgpWrapper::displayName()
const
85 return new Kleo::KpgpKeyListJob( pgpBase() );
160 Kpgp::Base * KpgpWrapper::pgpBase()
const
163 if ( name() == GPG1_BACKEND_NAME )
164 mPgpBase =
new Kpgp::BaseG();
165 else if ( name() == PGP2_BACKEND_NAME )
166 mPgpBase =
new Kpgp::Base2();
167 else if ( name() == PGP5_BACKEND_NAME )
168 mPgpBase =
new Kpgp::Base5();
169 else if ( name() == PGP6_BACKEND_NAME )
170 mPgpBase =
new Kpgp::Base6();
An abstract base class for asynchronous decrypters.
An abstract base class for asynchronous combined decrypters and verifiers.
An abstract base class for asynchronous deleters.
An abstract base class for asynchronous downloaders.
An abstract base class for asynchronous encrypters.
An abstract base class for asynchronous exporters.
An abstract base class for asynchronous importers.
An abstract base class for asynchronous key generation.
An abstract base class for asynchronous key listers.
An abstract base class for asynchronous key refreshers.
An abstract base class for asynchronous combined signing and encrypting.
An abstract base class for asynchronous signing.
An abstract base class for asynchronous verification of detached signatures.
An abstract base class for asynchronous verification of opaque signatures.