aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/cryptplug.h
diff options
context:
space:
mode:
authorKarl-Heinz Zimmer <[email protected]>2002-09-12 11:02:02 +0000
committerKarl-Heinz Zimmer <[email protected]>2002-09-12 11:02:02 +0000
commita58efc1d5f0a92ecf63a4ae122ee7757e1ac903a (patch)
tree111f802bf7e5f357d853117ee5e38d7a98d00b40 /gpgmeplug/cryptplug.h
parentBugfix: The value text of protocol parameter of OpenPGP's multipart/signed Co... (diff)
downloadgpgme-a58efc1d5f0a92ecf63a4ae122ee7757e1ac903a.tar.gz
gpgme-a58efc1d5f0a92ecf63a4ae122ee7757e1ac903a.zip
Bugfix #1276 (equals KDE bug #43868). Make sure to update kde/kdenetwork/libkdenetwork and kde/kdenetwork/kmail.
Diffstat (limited to '')
-rw-r--r--gpgmeplug/cryptplug.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h
index e1a613d5..325a62a9 100644
--- a/gpgmeplug/cryptplug.h
+++ b/gpgmeplug/cryptplug.h
@@ -1702,11 +1702,11 @@ bool encryptAndSignMessage( const char* cleartext,
\c true, otherwise
\c false.
*/
-bool decryptMessage( const char* ciphertext,
- bool cipherIsBinary,
- int cipherLen,
+bool decryptMessage( const char* ciphertext,
+ bool cipherIsBinary,
+ int cipherLen,
const char** cleartext,
- const char* certificate,
+ const char* certificate,
int* errId,
char** errTxt );
@@ -1721,10 +1721,15 @@ bool decryptMessage( const char* ciphertext,
object pointed to will contain meta information about
the signature after the function call.
*/
-bool decryptAndCheckMessage( const char* ciphertext,
+bool decryptAndCheckMessage( const char* ciphertext,
+ bool cipherIsBinary,
+ int cipherLen,
const char** cleartext,
- const char* certificate,
- struct SignatureMetaData* sigmeta );
+ const char* certificate,
+ bool* signatureFound,
+ struct SignatureMetaData* sigmeta,
+ int* errId,
+ char** errTxt );
/*! \ingroup groupCertAct