Constructs a new ProtectPDFParams
instance.
The parameters for constructing a ProtectPDFParams
instance.
Optional
contentThe type of content to encrypt in the PDF file. Default value is ALL_CONTENT.
The encryption algorithm required for encrypting the PDF file. For AES-128 encryption, the password supports LATIN-I characters only. For AES-256 encryption, passwords supports Unicode character set. Cannot be undefined.
Optional
ownerThe owner password required to control access permissions in the encrypted PDF file. This password can also be used to open/view the encrypted PDF file. Allowed maximum length for the user password is 128 characters.
Optional
permissions?: PermissionsThe permissions for the encrypted PDF file. This includes permissions to allow printing, editing and content copying in the PDF document. Permissions can only be used in case the owner password is set.
Optional
userThe user password required for opening the encrypted PDF file. Allowed maximum length for the user password is 128 characters.
Private
Optional
Readonly
_contentPrivate
Readonly
_encryptionPrivate
Optional
Readonly
_ownerPrivate
Optional
Readonly
_permissionsPrivate
Optional
Readonly
_userReturns the type of ContentEncryption for the resulting encrypted PDF file.
the type of content to encrypt.
Returns the EncryptionAlgorithm of the resulting encrypted PDF file.
the encryption algorithm.
Returns the owner password of the resulting encrypted PDF file.
the owner password.
Returns the document Permissions for the resulting encrypted PDF file.
the document permissions.
Returns the user password of the resulting encrypted PDF file.
the user password
Generated using TypeDoc
Parameters for securing PDF file with passwords and document permissions using ProtectPDFJob.