diff options
Diffstat (limited to 'framework/src/domain/mime/mailcrypto.h')
-rw-r--r-- | framework/src/domain/mime/mailcrypto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/src/domain/mime/mailcrypto.h b/framework/src/domain/mime/mailcrypto.h index 2261182d..badf1005 100644 --- a/framework/src/domain/mime/mailcrypto.h +++ b/framework/src/domain/mime/mailcrypto.h | |||
@@ -26,5 +26,10 @@ | |||
26 | 26 | ||
27 | namespace MailCrypto | 27 | namespace MailCrypto |
28 | { | 28 | { |
29 | enum Protocol { | ||
30 | OPENPGP, | ||
31 | SMIME | ||
32 | }; | ||
29 | KMime::Content *sign(KMime::Content *content, const std::vector<GpgME::Key> &signers); | 33 | KMime::Content *sign(KMime::Content *content, const std::vector<GpgME::Key> &signers); |
34 | std::vector<GpgME::Key> findKeys(const QStringList &filter, bool findPrivate = false, Protocol protocol = OPENPGP); | ||
30 | }; | 35 | }; |