[]
DsPdfJS API / EncryptOptions
EncryptOptions =
object
Defines the options for the Security#setEncryptOptions method.
optionalencryptionLevel:EncryptionLevel
Gets or sets encryption level. The default value: EncryptionLevel.AES256.
optionalencryptMetadata:boolean
Gets or sets a value indicating whether the document-level metadata stream is to be encrypted. The default value: true.
optionalpermissions:PermissionOptions
Gets or sets a PermissionOptions object defining the document permissions.
userPassword:
string
Gets or sets the password required to open a PDF document.