Paul Ryan wrote:
> I've been using iText 2.1.2u and signing with a certification signature 
> (certification level) using .setCertificationLevel(...) method on 
> PdfSignatureAppearance object.  It has been working fine apart from it 
> removing "enable usage rights in reader" setting on the PDF when enabled 
> prior to signing it.

Aha, "Usage Rights" rings a bell for me.
Normally, you can fill in a form using iText without removing
the usage rights. However, in versions prior to 2.1.3, the
usage rights were lost as soon as an end user saved the form.

The reason: iText replaced the complete XFA stream.
I changed this, so that only 2 parts were replaced.
I didn't replace any security stuff and this keeps
the usage rights intact.

> Unfortunately, the latest version of iText 2.1.3 doesn't appear to be 
> working correctly with the same certification process.  I've run the 
> exact same source code against version 2.1.2u and 2.1.3 and the 2.1.3 
> doesn't work, i.e. document not certified.  I've reverted back to using 
> iText 2.1.2u for the time being.

Do you have any sample PDFs we can work with?
A temporary hack could be adding a flag to indicate
if the usage rights have to be kept or not.

br,
Bruno

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to