Discussion:
[iText-questions] PdfPKCS7 .verify() return false
mgomez
2016-03-04 22:48:27 UTC
Permalink
Hi all,

I have one problem...

I have been working with itextpdf-5.5.5, and the Integrity check return
false.


.......

PdfPKCS7 pkcs7 = fields.verifySignature(name);

pkcs7.verify();<------ HERE return false



But Adobe Acrobat Reader say: Signed and all signatures are valid. :(

This is the document: Test.pdf
<http://itext.2136553.n4.nabble.com/file/n4661004/Test.pdf> .

Could someone explain what is happening?.

Thanks in advance



--
View this message in context: http://itext.2136553.n4.nabble.com/PdfPKCS7-verify-return-false-tp4661004.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
mgomez
2016-03-07 22:28:54 UTC
Permalink
Hi all,

I have one problem...

I have been working with itextpdf-5.5.5, and the Integrity check return
false.


.......

PdfPKCS7 pkcs7 = fields.verifySignature(name);

pkcs7.verify();<------ HERE return false



But Adobe Acrobat Reader say: Signed and all signatures are valid. :(

This is the document: Test.pdf
<http://itext.2136553.n4.nabble.com/file/n4661004/Test.pdf> .

Could someone explain what is happening?.

Thanks in advance



--
View this message in context: http://itext.2136553.n4.nabble.com/PdfPKCS7-verify-return-false-tp4661005.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
iText-questions mailing list
iText-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
mkl
2016-03-08 10:06:16 UTC
Permalink
mgomez,
Post by mgomez
I have been working with itextpdf-5.5.5, and the Integrity check return
false.
.......
PdfPKCS7 pkcs7 = fields.verifySignature(name);
pkcs7.verify();<------ HERE return false
But Adobe Acrobat Reader say: Signed and all signatures are valid. :(
Test.pdf <http://itext.2136553.n4.nabble.com/file/n4661004/Test.pdf>
.
Could someone explain what is happening?.
I answered your parallel post on stackoverflow:
http://stackoverflow.com/a/35863488/1729265

Regards, Michael



--
View this message in context: http://itext.2136553.n4.nabble.com/PdfPKCS7-verify-return-false-tp4661004p4661006.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
iText-questions mailing list
iText-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
mgomez
2016-03-08 19:39:23 UTC
Permalink
Thank you very much... i will review your response.



--
View this message in context: http://itext.2136553.n4.nabble.com/PdfPKCS7-verify-return-false-tp4661004p4661007.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
iText-questions mailing list
iText-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Loading...