Package | Description |
---|---|
com.adobe.pdfservices.operation.pdfops.options.protectpdf |
Contains the option classes for
ProtectPDFOperation . |
Modifier and Type | Method and Description |
---|---|
static PasswordProtectOptions.Builder |
ProtectPDFOptions.passwordProtectOptionsBuilder()
Creates a new
PasswordProtectOptions builder. |
PasswordProtectOptions.Builder |
PasswordProtectOptions.Builder.setContentEncryption(ContentEncryption contentEncryption)
Sets the intended type of content to encrypt in the PDF file.
|
PasswordProtectOptions.Builder |
PasswordProtectOptions.Builder.setEncryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm)
Sets the intended encryption algorithm required for encrypting the PDF file.
|
PasswordProtectOptions.Builder |
PasswordProtectOptions.Builder.setOwnerPassword(String ownerPassword)
Sets the intended owner password required to control access permissions in the encrypted PDF file.
|
PasswordProtectOptions.Builder |
PasswordProtectOptions.Builder.setPermissions(Permissions permissions)
Sets the intended permissions for the encrypted PDF file.
|
PasswordProtectOptions.Builder |
PasswordProtectOptions.Builder.setUserPassword(String userPassword)
Sets the intended user password required for opening the encrypted PDF file.
|
Copyright © 2023 Adobe. All rights reserved.