summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-07-24 11:29:27 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-07-24 13:47:08 +0200
commit7468d5df5ec79783eae84b62bdc5ecf12f0ca255 (patch)
tree4fd8deaa4e55da696088282d699184adc09e5f4d /include
parent6e86f77da5cf66c832f785a7f4eb806a3fdc26c6 (diff)
xmlsecurity: detect unsigned incremental update between signatures
Change-Id: I269ed858852ee7d1275adf340c8cc1565fc30693 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99361 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/vcl/filter/pdfdocument.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx
index 8fbd811a0429..be06db286d3e 100644
--- a/include/vcl/filter/pdfdocument.hxx
+++ b/include/vcl/filter/pdfdocument.hxx
@@ -422,6 +422,8 @@ public:
std::vector<PDFObjectElement*> GetSignatureWidgets();
/// Remove the nth signature from read document in the edit buffer.
bool RemoveSignature(size_t nPosition);
+ /// Get byte offsets of the end of incremental updates.
+ const std::vector<size_t>& GetEOFs() const;
//@}
/// See vcl::PDFObjectContainer::createObject().