sempdf
sempdf v1.9.1Interfaces

Interface: DocumentEncryptionOptions

sempdf v1.9.1


sempdf / DocumentEncryptionOptions

Defined in: src/types.ts:421

Password and permission options for encrypting a generated document.

Properties

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

On this page