| Package | Description |
|---|---|
| com.aspose.pdf |
The com.aspose.pdf is a root package for all classes of Aspose.PDF for Java library
which are either directly in it like
Document or indirectly through several
subpackages. |
| Modifier and Type | Field and Description |
|---|---|
static CryptoAlgorithm[] |
CryptoAlgorithm.ALGORITHMS |
| Modifier and Type | Method and Description |
|---|---|
CryptoAlgorithm |
Document.getCryptoAlgorithm()
Gets security settings if document is encrypted.
|
CryptoAlgorithm |
IDocument.getCryptoAlgorithm()
Gets security settings if document is encrypted.
|
CryptoAlgorithm |
CryptoAlgorithm.next() |
CryptoAlgorithm |
CryptoAlgorithm.prev() |
static CryptoAlgorithm |
CryptoAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoAlgorithm[] |
CryptoAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Document.encrypt(String userPassword,
String ownerPassword,
DocumentPrivilege privileges,
CryptoAlgorithm cryptoAlgorithm,
boolean usePdf20)
Encrypts the document.
|
void |
IDocument.encrypt(String userPassword,
String ownerPassword,
DocumentPrivilege privileges,
CryptoAlgorithm cryptoAlgorithm,
boolean usePdf20)
Encrypts the document.
|
void |
Document.encrypt(String userPassword,
String ownerPassword,
int permissions,
CryptoAlgorithm cryptoAlgorithm)
Encrypts the document.
|
void |
IDocument.encrypt(String userPassword,
String ownerPassword,
int permissions,
CryptoAlgorithm cryptoAlgorithm)
Encrypts the document.
|
void |
Document.encrypt(String userPassword,
String ownerPassword,
int permissions,
CryptoAlgorithm cryptoAlgorithm,
boolean usePdf20)
Encrypts the document.
|
void |
IDocument.encrypt(String userPassword,
String ownerPassword,
int permissions,
CryptoAlgorithm cryptoAlgorithm,
boolean usePdf20)
Encrypts the document.
|
Copyright © 2025 Aspose. All Rights Reserved.