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/.
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>
19 namespace com::sun::star::security
23 namespace com::sun::star::uno
25 template <typename
> class Reference
;
30 class SFX2_DLLPUBLIC DocumentSigner
36 DocumentSigner(OUString aUrl
)
37 : m_aUrl(std::move(aUrl
))
41 bool signDocument(css::uno::Reference
<css::security::XCertificate
> const& rxCertificate
);
46 #endif // INCLUDED_SFX2_DOCUMENTSIGNER_HXX
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */