tdf#154285 Check upper bound of arguments in SbRtl_Minute function
[LibreOffice.git] / include / sfx2 / DocumentSigner.hxx
blob2fe0f7d7d20add4237184eeacc4c31d9034b5cbb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
9 */
11 #ifndef INCLUDED_SFX2_DOCUMENTSIGNER_HXX
12 #define INCLUDED_SFX2_DOCUMENTSIGNER_HXX
14 #include <sal/config.h>
15 #include <sfx2/dllapi.h>
16 #include <rtl/ustring.hxx>
17 #include <utility>
19 namespace com::sun::star::security
21 class XCertificate;
23 namespace com::sun::star::uno
25 template <typename> class Reference;
28 namespace sfx2
30 class SFX2_DLLPUBLIC DocumentSigner
32 private:
33 OUString m_aUrl;
35 public:
36 DocumentSigner(OUString aUrl)
37 : m_aUrl(std::move(aUrl))
41 bool signDocument(css::uno::Reference<css::security::XCertificate> const& rxCertificate);
44 } // namespace sfx2
46 #endif // INCLUDED_SFX2_DOCUMENTSIGNER_HXX
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */