summaryrefslogtreecommitdiff
path: root/xmlsecurity/inc/pdfio/pdfdocument.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/inc/pdfio/pdfdocument.hxx')
-rw-r--r--xmlsecurity/inc/pdfio/pdfdocument.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/xmlsecurity/inc/pdfio/pdfdocument.hxx b/xmlsecurity/inc/pdfio/pdfdocument.hxx
index e72a7edd2de7..4e36978ee009 100644
--- a/xmlsecurity/inc/pdfio/pdfdocument.hxx
+++ b/xmlsecurity/inc/pdfio/pdfdocument.hxx
@@ -16,6 +16,7 @@
namespace vcl::filter
{
class PDFObjectElement;
+class PDFDocument;
}
struct SignatureInformation;
class SvStream;
@@ -24,12 +25,13 @@ namespace xmlsecurity::pdfio
{
/**
* @param rInformation The actual result.
- * @param bLast If this is the last signature in the file, so it covers the whole file physically.
+ * @param rDocument the parsed document to see if the signature is partial.
* @return If we can determinate a result.
*/
XMLSECURITY_DLLPUBLIC bool ValidateSignature(SvStream& rStream,
vcl::filter::PDFObjectElement* pSignature,
- SignatureInformation& rInformation, bool bLast);
+ SignatureInformation& rInformation,
+ vcl::filter::PDFDocument& rDocument);
} // namespace xmlsecurity::pdfio