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 classPasswordProtectParams.BuilderBuilds aPasswordProtectParamsinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentEncryptiongetContentEncryption()Returns the intended type ofContentEncryptionfor the resulting encrypted PDF file.StringgetContentEncryptionAsString()Returns the intended type ofContentEncryptionfor the resulting encrypted PDF file as a string.EncryptionAlgorithmgetEncryptionAlgorithm()Returns the intendedEncryptionAlgorithmof the resulting encrypted PDF file.StringgetOwnerPassword()Returns the intended owner password of the resulting encrypted PDF file.PermissionsgetPermissions()Returns the intended documentPermissionsfor the resulting encrypted PDF file.StringgetUserPassword()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 intendedEncryptionAlgorithmof the resulting encrypted PDF file.- Returns:
- the encryption algorithm
-
getContentEncryption
public ContentEncryption getContentEncryption()
Returns the intended type ofContentEncryptionfor the resulting encrypted PDF file.- Returns:
- the type of content to encrypt
-
getContentEncryptionAsString
public String getContentEncryptionAsString()
Returns the intended type ofContentEncryptionfor 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 documentPermissionsfor the resulting encrypted PDF file.- Returns:
- the document permissions
-
-