aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/cryptplug.h
diff options
context:
space:
mode:
authorKarl-Heinz Zimmer <[email protected]>2002-03-08 15:44:09 +0000
committerKarl-Heinz Zimmer <[email protected]>2002-03-08 15:44:09 +0000
commited9f9969e378fd2d15a875a5e100b87bddd1a75a (patch)
treee374d9b97618df04e53b7b207b5cf1a5031e35b5 /gpgmeplug/cryptplug.h
parentA little better address-parsing. Not real rfc822 yet, but at least it fetches (diff)
downloadgpgme-ed9f9969e378fd2d15a875a5e100b87bddd1a75a.tar.gz
gpgme-ed9f9969e378fd2d15a875a5e100b87bddd1a75a.zip
New feature: Ask user which certificate is to be taken when more than one found by the crypto plug-in for a single recipient. - NOTE: This code is not working correctly (yet) so we allways get some *all* keys that are stored by gpg instead of the right key information.
Diffstat (limited to 'gpgmeplug/cryptplug.h')
-rw-r--r--gpgmeplug/cryptplug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h
index ba346dec..ce2e75a2 100644
--- a/gpgmeplug/cryptplug.h
+++ b/gpgmeplug/cryptplug.h
@@ -1454,6 +1454,14 @@ bool storeCertificatesFromMessage( const char* ciphertext );
/*! \ingroup groupCryptAct
+ \brief Find all certificate for a given addressee.
+
+ NOTE: The \c certificate parameter must point to an allready allocated
+ block of memory which is large enough to hold the complete list.
+*/
+bool findCertificates( const char* addressee, char** certificates );
+
+/*! \ingroup groupCryptAct
\brief Encrypts an email message in
\c cleartext according to the \c addressee and
the current settings (algorithm, etc.) and