LibreOffice Module sfx2 (master) 1
DocumentSigner.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
11#ifndef INCLUDED_SFX2_DOCUMENTSIGNER_HXX
12#define INCLUDED_SFX2_DOCUMENTSIGNER_HXX
13
14#include <sal/config.h>
15#include <sfx2/dllapi.h>
16#include <rtl/ustring.hxx>
17#include <utility>
18
20{
21class XCertificate;
22}
23namespace com::sun::star::uno
24{
25template <typename> class Reference;
26}
27
28namespace sfx2
29{
31{
32private:
33 OUString m_aUrl;
34
35public:
36 DocumentSigner(OUString aUrl)
37 : m_aUrl(std::move(aUrl))
38 {
39 }
40
41 bool signDocument(css::uno::Reference<css::security::XCertificate> const& rxCertificate);
42};
43
44} // namespace sfx2
45
46#endif // INCLUDED_SFX2_DOCUMENTSIGNER_HXX
47
48/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
DocumentSigner(OUString aUrl)
#define SFX2_DLLPUBLIC
Definition: dllapi.h:29
Reference