How can I define that a pdf is timestamped? I've used
the code below for getting the time of the signature,
but I could not find a way to understand if it is
timestamped.
PdfReader reader = new PdfReader(signedPDFFileName);
AcroFields af = reader.getAcroFields();
ArrayList names = af.getSignatureNames();
for (Object name1 : names) {
String name = (String) name1;
PdfPKCS7 pk = af.verifySignature(name);
result = pk.getSignDate().getTime();
}
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/