Hello everybody, I've attached a patch to bug #99271 on Bugzilla.
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 [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
