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_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
12 #define INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
14 #include <xmlsecuritydllapi.h>
20 class PDFObjectElement
;
24 struct SignatureInformation
;
32 * @param rInformation The actual result.
33 * @param rDocument the parsed document to see if the signature is partial.
34 * @return If we can determinate a result.
36 XMLSECURITY_DLLPUBLIC
bool ValidateSignature(SvStream
& rStream
,
37 vcl::filter::PDFObjectElement
* pSignature
,
38 SignatureInformation
& rInformation
,
39 vcl::filter::PDFDocument
& rDocument
, int nMDPPerm
);
42 } // namespace xmlsecurity
44 #endif // INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */