Chapter 12. Protecting your PDF
This chapter covers
- Providing metadata
- Compressing and decompressing PDFs
- Encrypting documents
- Adding digital signatures
You have created many different documents containing data, such as movies, directors, and movie screenings taken from a database, but you haven’t added any information about the owner of this data. You could make sure that people find out who created the document by adding metadata.
You’ve also peeked inside some of the PDF files you created, and you’ve seen that the content of a document is compressed by default. You could use iText to decompress content streams to read the PDF syntax that makes up a page or a form XObject.
For confidential documents, you’ll want to protect the document. ...
Get iText in Action, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.