File indexing completed on 2024-05-12 05:28:16
0001 // SPDX-FileCopyrightText: 2016 Christian Mollekopf <mollekopf@kolabsys.com> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 #pragma once 0005 0006 #include <KMime/Content> 0007 0008 #include <memory> 0009 0010 #include "../crypto.h" 0011 #include "../errors.h" 0012 0013 namespace MailCrypto 0014 { 0015 0016 Expected<Crypto::Error, std::unique_ptr<KMime::Content>> 0017 processCrypto(std::unique_ptr<KMime::Content> content, const std::vector<Crypto::Key> &signingKeys, const std::vector<Crypto::Key> &encryptionKeys); 0018 0019 };