Package | Description |
---|---|
com.aspose.pdf.facades |
The com.aspose.pdf.facades package provides classes originally came from
Aspose.Pdf.Kit.
|
Modifier and Type | Method and Description |
---|---|
static Algorithm |
Algorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
Algorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PdfFileSecurity.changePassword(String ownerPassword,
String newUserPassword,
String newOwnerPassword,
DocumentPrivilege privilege,
KeySize keySize,
Algorithm cipher)
Changes the user password and password by owner password, allows to reset Pdf documnent
security.
|
boolean |
PdfFileSecurity.encryptFile(String userPassword,
String ownerPassword,
DocumentPrivilege privilege,
KeySize keySize,
Algorithm cipher)
Encrypts Pdf file with userpassword and ownerpassword and sets the document's privileges to
access.
|
boolean |
PdfFileSecurity.tryChangePassword(String ownerPassword,
String newUserPassword,
String newOwnerPassword,
DocumentPrivilege privilege,
KeySize keySize,
Algorithm cipher)
Changes the user password and password by owner password, allows to reset Pdf document security.
|
Copyright © 2023 Aspose. All Rights Reserved.