**Inheritance:** java.lang.Object, com.aspose.pdf.Document **All Implemented Interfaces:** com.aspose.ms.System.IDisposable, IDocument, Closeable, AutoCloseable ``` public final class Document exte...... | | [encrypt](#encrypt-int-com.aspose.pdf.CryptoAlgorithm-com...IGenericList-) | Encrypts the document. | | [encrypt](#encrypt-java.lang...