Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / xmlsecurity / inc / gpg / SEInitializer.hxx
blobdb73d621f7bed1049b242fb6c4b6709b8d20f2ef
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 #ifndef INCLUDED_XMLSECURITY_SOURCE_GPG_SEINITIALIZER_HXX
11 #define INCLUDED_XMLSECURITY_SOURCE_GPG_SEINITIALIZER_HXX
13 #include <com/sun/star/uno/XComponentContext.hpp>
14 #include <com/sun/star/uno/Reference.hxx>
15 #include <com/sun/star/uno/Sequence.hxx>
16 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
17 #include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp>
18 #include <com/sun/star/xml/crypto/XSEInitializer.hpp>
20 #include <xsecgpgdllapi.h>
21 #include <cppuhelper/implbase.hxx>
23 class XSECGPG_DLLPUBLIC SEInitializerGpg : public cppu::WeakImplHelper< css::xml::crypto::XSEInitializer >
25 public:
26 SEInitializerGpg();
27 virtual ~SEInitializerGpg() override;
29 /* XSEInitializer */
30 virtual css::uno::Reference< css::xml::crypto::XXMLSecurityContext >
31 SAL_CALL createSecurityContext( const OUString& ) override;
33 virtual void SAL_CALL freeSecurityContext( const css::uno::Reference<
34 css::xml::crypto::XXMLSecurityContext >& securityContext ) override;
37 #endif
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */