bump product version to 7.6.3.2-android
[LibreOffice.git] / xmlsecurity / source / gpg / XMLEncryption.hxx
blob4ff47ccc49a4d024bf9143ec8a48393ee25e9975
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #pragma once
12 #include <sal/config.h>
13 #include <cppuhelper/implbase.hxx>
15 #include <com/sun/star/uno/Reference.hxx>
16 #include <com/sun/star/xml/crypto/XXMLEncryption.hpp>
18 namespace com::sun::star::xml::crypto { class XXMLEncryptionTemplate; }
19 namespace com::sun::star::xml::crypto { class XXMLSecurityContext; }
21 class XMLEncryptionGpg : public cppu::WeakImplHelper< css::xml::crypto::XXMLEncryption >
23 public:
24 explicit XMLEncryptionGpg();
25 virtual ~XMLEncryptionGpg() override;
27 // XXMLEncryption
28 virtual css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate > SAL_CALL encrypt(
29 const css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate >& aTemplate,
30 const css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& aEnvironment) override;
32 virtual css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate > SAL_CALL decrypt(
33 const css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate >& aTemplate,
34 const css::uno::Reference< css::xml::crypto::XXMLSecurityContext >& aContext) override;
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */