sempdf v1.9.1Interfaces
Interface: DocumentEncryptionOptions
sempdf / DocumentEncryptionOptions
Defined in: src/types.ts:421
Password and permission options for encrypting a generated document.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
algorithm? | DocumentEncryptionAlgorithm | Encryption algorithm to use when writing encrypted output. | src/types.ts:429 |
encryptMetadata? | boolean | Whether to encrypt the metadata stream. Defaults to true. When false, the metadata stream is left unencrypted. | src/types.ts:431 |
ownerPassword? | string | Password used to grant owner-level permissions. | src/types.ts:425 |
permissions? | DocumentPermissions | Permission flags applied to encrypted output. | src/types.ts:427 |
userPassword? | string | Password required to open the document. | src/types.ts:423 |