LibreOffice Module xmlsecurity (master) 1
SEInitializer.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 */
9
10#pragma once
11
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>
16
17#include <xsecxmlsecdllapi.h>
19
20namespace com::sun::star::xml::crypto { class XXMLSecurityContext; }
21
22class XSECXMLSEC_DLLPUBLIC SEInitializerGpg final : public cppu::WeakImplHelper
23<
24 css::xml::crypto::XSEInitializer,
25 css::lang::XServiceInfo
26>
27{
28public:
30 virtual ~SEInitializerGpg() override;
31
32 /* XSEInitializer */
33 virtual css::uno::Reference< css::xml::crypto::XXMLSecurityContext >
34 SAL_CALL createSecurityContext( const OUString& ) override;
35
36 virtual void SAL_CALL freeSecurityContext( const css::uno::Reference<
37 css::xml::crypto::XXMLSecurityContext >& securityContext ) override;
38
39 /* XServiceInfo */
40 virtual OUString SAL_CALL getImplementationName( ) override;
41
42 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
43
44 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
45};
46
47/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
unsigned char sal_Bool
#define XSECXMLSEC_DLLPUBLIC