Class PasswordProtectParams
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.protectpdf.ProtectPDFParams
-
- com.adobe.pdfservices.operation.pdfjobs.params.protectpdf.PasswordProtectParams
-
- All Implemented Interfaces:
PDFServicesJobParams
public class PasswordProtectParams extends ProtectPDFParams
Parameters for securing PDF file with passwords and document permissions usingProtectPDFJob
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PasswordProtectParams.Builder
Builds aPasswordProtectParams
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentEncryption
getContentEncryption()
Returns the intended type ofContentEncryption
for the resulting encrypted PDF file.String
getContentEncryptionAsString()
Returns the intended type ofContentEncryption
for the resulting encrypted PDF file as a string.EncryptionAlgorithm
getEncryptionAlgorithm()
Returns the intendedEncryptionAlgorithm
of the resulting encrypted PDF file.String
getOwnerPassword()
Returns the intended owner password of the resulting encrypted PDF file.Permissions
getPermissions()
Returns the intended documentPermissions
for the resulting encrypted PDF file.String
getUserPassword()
Returns the intended user password of the resulting encrypted PDF file.-
Methods inherited from class com.adobe.pdfservices.operation.pdfjobs.params.protectpdf.ProtectPDFParams
passwordProtectOptionsBuilder
-
-
-
-
Method Detail
-
getUserPassword
public String getUserPassword()
Returns the intended user password of the resulting encrypted PDF file.- Returns:
- the user password
-
getOwnerPassword
public String getOwnerPassword()
Returns the intended owner password of the resulting encrypted PDF file.- Returns:
- the owner password
-
getEncryptionAlgorithm
public EncryptionAlgorithm getEncryptionAlgorithm()
Returns the intendedEncryptionAlgorithm
of the resulting encrypted PDF file.- Returns:
- the encryption algorithm
-
getContentEncryption
public ContentEncryption getContentEncryption()
Returns the intended type ofContentEncryption
for the resulting encrypted PDF file.- Returns:
- the type of content to encrypt
-
getContentEncryptionAsString
public String getContentEncryptionAsString()
Returns the intended type ofContentEncryption
for the resulting encrypted PDF file as a string.- Returns:
- the type of content to encrypt as a string
-
getPermissions
public Permissions getPermissions()
Returns the intended documentPermissions
for the resulting encrypted PDF file.- Returns:
- the document permissions
-
-