tdf#161775 sfx2: SfxRedactionHelper: actually use font for layout
[LibreOffice.git] / xmlsecurity / inc / gpg / SEInitializer.hxx
blobe4da22029c3d5db3b33f6b8a47e7cdf7a4cf034e
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 <com/sun/star/uno/Reference.hxx>
13 #include <com/sun/star/uno/Sequence.hxx>
14 #include <com/sun/star/lang/XServiceInfo.hpp>
15 #include <com/sun/star/xml/crypto/XSEInitializer.hpp>
17 #include <xsecxmlsecdllapi.h>
18 #include <cppuhelper/implbase.hxx>
20 namespace com::sun::star::xml::crypto { class XXMLSecurityContext; }
22 class XSECXMLSEC_DLLPUBLIC SEInitializerGpg final : public cppu::WeakImplHelper
24 css::xml::crypto::XSEInitializer,
25 css::lang::XServiceInfo
28 public:
29 SEInitializerGpg();
30 virtual ~SEInitializerGpg() override;
32 /* XSEInitializer */
33 virtual css::uno::Reference< css::xml::crypto::XXMLSecurityContext >
34 SAL_CALL createSecurityContext( const OUString& ) override;
36 virtual void SAL_CALL freeSecurityContext( const css::uno::Reference<
37 css::xml::crypto::XXMLSecurityContext >& securityContext ) override;
39 /* XServiceInfo */
40 virtual OUString SAL_CALL getImplementationName( ) override;
42 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
44 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */