PDF4Java Reference Documentation
com.o2sol.pdf4java.utilities Package / PDFEncryptor Class / encryptFile Method
Collapse All Expand All
In This Topic

encryptFile Method
In This Topic
Encrypts the input PDF file and saves the encrypted file to output path.
Overload List

Overload | Description
--- | ---
encryptFile(String,String,PDFSecurityHandler,boolean) | Encrypts the input PDF file and saves the encrypted file to output path.
encryptFile(String,String,String,PDFSecurityHandler,boolean) | Encrypts the input PDF file and saves the encrypted file to output path.
encryptFile(Stream,Stream,PDFSecurityHandler,boolean) | Encrypts the PDF file given in input stream and saves the encrypted file to output stream.
encryptFile(Stream,String,Stream,PDFSecurityHandler,boolean) | Encrypts the PDF file given in input stream and saves the encrypted file to output stream.

See Also

#### Reference

PDFEncryptor Class
PDFEncryptor Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.