[Poppler-bugs] [Bug 99271] make it possible to extract digital signature data (also in pdfsig)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 16 09:06:04 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99271
Hans-Ulrich Jüttner <huj at froreich-bioscientia.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|poppler-bugs at lists.freedesk |huj at froreich-bioscientia.de
|top.org |
CC| |huj at froreich-bioscientia.de
Status|NEW |ASSIGNED
--- Comment #2 from Hans-Ulrich Jüttner <huj at froreich-bioscientia.de> ---
Created attachment 131371
--> https://bugs.freedesktop.org/attachment.cgi?id=131371&action=edit
Patch fixing this bug and adding support for specification of a validation time
The proposed patch would fix this bug.
The Qt5 interface in qt5/src/poppler-form.h gets the following new methods:
QString signerSubjectDN() const;
QString getHashAlgorithmName() const;
const QByteArray& getSignature() const;
QList<qint64> signedRangeBounds() const;
bool signsTotalDocument() const;
Moreover, the interface of method validate in qt5/src/poppler-form.h is
extended
to take an optional validation time:
SignatureValidationInfo validate(int opt, const QDateTime& validationTime =
QDateTime()) const;
The binary pdfsig with this patch also tells the full Distinguished Name of the
signer and the Hash Algorithm used for signing.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170516/1861ac00/attachment.html>
More information about the Poppler-bugs
mailing list