LibreOffice Module sfx2 (master)
1
include
sfx2
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
19
namespace
com::sun::star::security
20
{
21
class
XCertificate;
22
}
23
namespace
com::sun::star::uno
24
{
25
template
<
typename
>
class
Reference
;
26
}
27
28
namespace
sfx2
29
{
30
class
SFX2_DLLPUBLIC
DocumentSigner
31
{
32
private
:
33
OUString
m_aUrl
;
34
35
public
:
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: */
sfx2::DocumentSigner
Definition:
DocumentSigner.hxx:31
sfx2::DocumentSigner::m_aUrl
OUString m_aUrl
Definition:
DocumentSigner.hxx:33
sfx2::DocumentSigner::DocumentSigner
DocumentSigner(OUString aUrl)
Definition:
DocumentSigner.hxx:36
config.h
dllapi.h
SFX2_DLLPUBLIC
#define SFX2_DLLPUBLIC
Definition:
dllapi.h:29
com::sun::star::security
com::sun::star::uno
Reference
Reference
sfx2
std
Generated on Sun Jul 30 2023 04:33:33 for LibreOffice Module sfx2 (master) by
1.9.3