Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

EncryptionOptions

type EncryptionOptions = SetEncryptionJs;

Defined in: packages/sdk/src/types.ts:1632

The passwords and limits for Document.setEncryption: user (opens the file), owner (lifts the limits; left empty, the save makes one and reports it), permissions and encryptMetadata (default true). Give at least one password. The passwords stay in memory: they are never in an op log, an error or a crash report.

0.7.0