diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-03 10:00:35 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-03 10:00:35 -0600 |
commit | b7e18a461fd14ec34723d689f644880964314f1b (patch) | |
tree | f7ef6f625a987d8bd484ec283f4d1e5da38aa124 /framework/src/domain/mime/mailcrypto.h | |
parent | c71bc1b1fdd4055dfe2e2155961827b8652dd96c (diff) | |
download | kube-b7e18a461fd14ec34723d689f644880964314f1b.tar.gz kube-b7e18a461fd14ec34723d689f644880964314f1b.zip |
Commit missing files
Diffstat (limited to 'framework/src/domain/mime/mailcrypto.h')
-rw-r--r-- | framework/src/domain/mime/mailcrypto.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/framework/src/domain/mime/mailcrypto.h b/framework/src/domain/mime/mailcrypto.h new file mode 100644 index 00000000..2261182d --- /dev/null +++ b/framework/src/domain/mime/mailcrypto.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | Copyright (c) 2016 Christian Mollekopf <mollekopf@kolabsys.com> | ||
3 | |||
4 | This library is free software; you can redistribute it and/or modify it | ||
5 | under the terms of the GNU Library General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or (at your | ||
7 | option) any later version. | ||
8 | |||
9 | This library is distributed in the hope that it will be useful, but WITHOUT | ||
10 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
11 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public | ||
12 | License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU Library General Public License | ||
15 | along with this library; see the file COPYING.LIB. If not, write to the | ||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
17 | 02110-1301, USA. | ||
18 | */ | ||
19 | |||
20 | #pragma once | ||
21 | |||
22 | #include <QByteArray> | ||
23 | #include <KMime/Message> | ||
24 | #include <gpgme++/key.h> | ||
25 | #include <functional> | ||
26 | |||
27 | namespace MailCrypto | ||
28 | { | ||
29 | KMime::Content *sign(KMime::Content *content, const std::vector<GpgME::Key> &signers); | ||
30 | }; | ||