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/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>
17 #include <sal/types.h>
21 /// Extension of css::security::XDocumentDigitalSignatures for internal purposes.
22 class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI DigitalSignatures
25 /// Same as signDocumentWithCertificate(), but passes the xModel as well.
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
)
34 ~DigitalSignatures() noexcept
= default;
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */