LibreOffice Module xmlsecurity (master) 1
ooxmlsecexporter.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 <memory>
13
14#include <svl/sigstruct.hxx>
15
16namespace com::sun::star
17{
18namespace embed
19{
20class XStorage;
21}
22namespace uno
23{
24class XComponentContext;
25}
26namespace xml::sax
27{
28class XDocumentHandler;
29}
30}
31
34{
35 struct Impl;
36 std::unique_ptr<Impl> m_pImpl;
37
38public:
39 OOXMLSecExporter(const css::uno::Reference<css::uno::XComponentContext>& xComponentContext,
40 const css::uno::Reference<css::embed::XStorage>& xRootStorage,
41 const css::uno::Reference<css::xml::sax::XDocumentHandler>& xDocumentHandler,
42 const SignatureInformation& rInformation);
44 void writeSignature();
45};
46
47/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Writes a single OOXML digital signature.
OOXMLSecExporter(const css::uno::Reference< css::uno::XComponentContext > &xComponentContext, const css::uno::Reference< css::embed::XStorage > &xRootStorage, const css::uno::Reference< css::xml::sax::XDocumentHandler > &xDocumentHandler, const SignatureInformation &rInformation)
std::unique_ptr< Impl > m_pImpl