Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / xmlsecurity / inc / pdfio / pdfdocument.hxx
blob996bb1527bb8920cce5c714fc4fc25630f6e5486
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_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
12 #define INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
14 #include <xmlsecuritydllapi.h>
16 namespace vcl
18 namespace filter
20 class PDFObjectElement;
23 struct SignatureInformation;
24 class SvStream;
26 namespace xmlsecurity
28 namespace pdfio
30 /**
31 * @param rInformation The actual result.
32 * @param bLast If this is the last signature in the file, so it covers the whole file physically.
33 * @return If we can determinate a result.
35 XMLSECURITY_DLLPUBLIC bool ValidateSignature(SvStream& rStream,
36 vcl::filter::PDFObjectElement* pSignature,
37 SignatureInformation& rInformation, bool bLast);
39 } // namespace pdfio
40 } // namespace xmlsecurity
42 #endif // INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */