PdfEncryptOptions
Defined in: src/pdf/encryption.ts:30
Passwords and permissions for preparePdfEncryption.
Properties
Section titled “Properties”ownerPassword?
Section titled “ownerPassword?”
readonlyoptionalownerPassword?:string
Defined in: src/pdf/encryption.ts:34
Overrides the permission restrictions. Defaults to the user password.
permissions?
Section titled “permissions?”
readonlyoptionalpermissions?:PdfPermissions
Defined in: src/pdf/encryption.ts:35
userPassword?
Section titled “userPassword?”
readonlyoptionaluserPassword?:string
Defined in: src/pdf/encryption.ts:32
Required to OPEN the document. Empty string = opens without a prompt.