diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-08-02 22:08:46 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-08-02 22:08:46 +0000 |
commit | 527a227714538c2aaf4bf37f7593b680b7aea85a (patch) | |
tree | 592b3650449f96558a2dc80430a06d675cc36748 /gpgcontext.h | |
parent | mark private keys works again (diff) | |
download | gpg4usb-527a227714538c2aaf4bf37f7593b680b7aea85a.tar.gz gpg4usb-527a227714538c2aaf4bf37f7593b680b7aea85a.zip |
getKeyDetails kind of works
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2-mac@927 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgcontext.h')
-rw-r--r-- | gpgcontext.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gpgcontext.h b/gpgcontext.h index f9caf61..7bb9a4b 100644 --- a/gpgcontext.h +++ b/gpgcontext.h @@ -28,6 +28,7 @@ #include <gpgme.h> #include <QLinkedList> #include <QtGui> +#include "kgpg/kgpgkey.h" QT_BEGIN_NAMESPACE class QMessageBox; @@ -118,7 +119,8 @@ public: bool decrypt(const QByteArray &inBuffer, QByteArray *outBuffer); void clearPasswordCache(); void exportSecretKey(QString uid, QByteArray *outBuffer); - gpgme_key_t getKeyDetails(QString uid); + //gpgme_key_t getKeyDetails(QString uid); + KgpgCore::KgpgKey getKeyDetails(QString uid); gpgme_signature_t verify(QByteArray in); // void decryptVerify(QByteArray in); bool sign(QStringList *uidList, const QByteArray &inBuffer, QByteArray *outBuffer ); |