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