When creating signature it is possible to specify following signature metadata 
fields:
    private String reason;
    private String location;
    private Calendar signDate;
    private String contact;


However, when PdfPKCS7 instance is constructed, it missing "contact" field. In 
our project, we use same fields in UI and I'm missing last field in the 
verification phase.
It would be really helpful to add the field to PdfPKCS7 instance. That would 
involve following changes in  AcroFields class:

    public PdfPKCS7 verifySignature(String name, String provider) {
...
            str = v.getAsString(PdfName.CONTACTINFO);
            if (str != null)
                pk.setContact(str.toUnicodeString());


And adding the field to PdfPKCS7 class.
Does that sounds reasonable?

-- 
Erik
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
iText-questions mailing list
iText-questions@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

Reply via email to