[poppler] Proposed patch for bug #99271
Albert Astals Cid
aacid at kde.org
Tue May 16 22:24:11 UTC 2017
El dimarts, 16 de maig de 2017, a les 9:40:28 CEST, Jüttner, Hans-Ulrich va
escriure:
> Hello everybody,
>
> I've attached a patch to bug #99271 on Bugzilla.
Please let's keep the discussion in one place, either bugzilla or the mailing
list, but not in both places since it makes it much harder to follow.
Since there's a bug in bugzilla, let's use the bugzilla options :)
Cheers,
Albert
>
> 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.
>
> I hope this will be helpful.
>
> Best regards,
> Ulrich
>
> --
> Dr. Hans-Ulrich Jüttner
> Software Development
>
> Labor Dr. von Froreich - Bioscientia GmbH
> Großmoorbogen 25
> 21079 Hamburg
> Deutschland
>
> Fon +49 (40) 766 96-305
> Fax +49 (40) 766 96-334
> Web www.froreich-bioscientia.de
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list