Skip to content

zeropdf v1.3.0


zeropdf / DocumentEncryptionOptions

Interface: DocumentEncryptionOptions

Defined in: src/types.ts:374

Password and permission options for encrypting a generated document.

Properties

PropertyTypeDescriptionDefined in
algorithm?DocumentEncryptionAlgorithmEncryption algorithm to use when writing encrypted output.src/types.ts:382
encryptMetadata?booleanWhether to encrypt the metadata stream. Defaults to true. When false, the metadata stream is left unencrypted.src/types.ts:384
ownerPassword?stringPassword used to grant owner-level permissions.src/types.ts:378
permissions?DocumentPermissionsPermission flags applied to encrypted output.src/types.ts:380
userPassword?stringPassword required to open the document.src/types.ts:376

Released under the ISC license.