Protects the document with the protection policy pp. The document content will be really encrypted when it will be saved. This method only marks the document for encryption.
@see org.apache.pdfbox.pdmodel.encryption.StandardProtectionPolicy
@see org.apache.pdfbox.pdmodel.encryption.PublicKeyProtectionPolicy
@param pp The protection policy.
@throws BadSecurityHandlerException If there is an error during protection.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.