1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
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
30 virtual ~SEInitializerGpg() override
;
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
;
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: */