concept reader - enable form in category itext

appears as: Reader-enabled forms, Reader-enabled form
iText in Action, Second Edition

This is an excerpt from Manning's book iText in Action, Second Edition.

Can I create a Reader-enabled form using iText? The technology that’s used to enable a form is based on public-key cryptography, where the viewer of the document (in this case Adobe Reader) has the public key and the authoring software for the document has the private key. Because iText (or any other non-Adobe software) has no access to Adobe’s private key, you can only enable documents using Adobe products.

Table 8.4. Filling out a Reader-enabled form

remove

preserve

Result

false false You fill out the form as before. This breaks Reader-enabling and causes a scary warning.
true false You fill out the form as before, with removal of the usage rights. With Reader-enabling gone, there’s also no more scary warning.
false true You fill out the form, but not as before. By using a different constructor for PdfStamper, you’ll create the new PDF in append mode. This means that iText will keep the original PDF intact and append all the changes instead of reorganizing the internal structure.