LibreOffice Module sfx2 (master) 1
digitalsignatures.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/embed/XStorage.hpp>
13#include <com/sun/star/frame/XModel.hpp>
14#include <com/sun/star/io/XStream.hpp>
15#include <com/sun/star/security/XCertificate.hpp>
16
17#include <sal/types.h>
18
19namespace sfx2
20{
22class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI SAL_LOPLUGIN_ANNOTATE("crosscast") DigitalSignatures
23{
24public:
26 virtual bool
27 SignModelWithCertificate(const css::uno::Reference<css::frame::XModel>& xModel,
28 const css::uno::Reference<css::security::XCertificate>& xCertificate,
29 const css::uno::Reference<css::embed::XStorage>& xStorage,
30 const css::uno::Reference<css::io::XStream>& xStream)
31 = 0;
32
33protected:
34 ~DigitalSignatures() noexcept = default;
35};
36}
37
38/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Reference< XInputStream > xStream
class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI SAL_LOPLUGIN_ANNOTATE("crosscast") DigitalSignatures
Extension of css::security::XDocumentDigitalSignatures for internal purposes.
Reference< XModel > xModel
#define SAL_NO_VTABLE