Op 3/02/2011 15:44, LIDA VAN LOSSER-JONKER schreef:
This is another way to get the reason from a signature, but I am searching for a way to know if it's a certifying signature or an ordinary signature.
I must have overlooked that part of your question.
Add these lines:
if (sig.get(PdfName.REFERENCE) == null) {
  System.out.println("approval");
}
else {
  System.out.println("certification");
}
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

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

Reply via email to