[]
type EncryptOptions = object;
Defines the options for the Security#setEncryptOptions method.
optional encryptionLevel?: EncryptionLevel;
Gets or sets encryption level. The default value: EncryptionLevel.AES256.
optional encryptMetadata?: boolean;
Gets or sets a value indicating whether the document-level metadata stream is to be encrypted. The default value: true.
optional permissions?: PermissionOptions;
Gets or sets a PermissionOptions object defining the document permissions.
userPassword: string;
Gets or sets the password required to open a PDF document.