Interface: DocumentEncryptionOptions
Password and permission options for encrypting a generated document.
Properties
| Property | Type | Description |
|---|---|---|
algorithm? | DocumentEncryptionAlgorithm | Encryption algorithm to use when writing encrypted output. |
encryptMetadata? | boolean | Whether to encrypt the metadata stream. Defaults to true. When false, the metadata stream is left unencrypted. |
ownerPassword? | string | Password used to grant owner-level permissions. |
permissions? | DocumentPermissions | Permission flags applied to encrypted output. |
userPassword? | string | Password required to open the document. |