Skip to content

PdfEncryptOptions

Defined in: src/pdf/encryption.ts:30

Passwords and permissions for preparePdfEncryption.

readonly optional ownerPassword?: string

Defined in: src/pdf/encryption.ts:34

Overrides the permission restrictions. Defaults to the user password.


readonly optional permissions?: PdfPermissions

Defined in: src/pdf/encryption.ts:35


readonly optional userPassword?: string

Defined in: src/pdf/encryption.ts:32

Required to OPEN the document. Empty string = opens without a prompt.