EncryptionScope
Receiver of encryption { ... }.
Mirrors the field-by-field builder style of MetadataScope: set the owner password (and optionally a user password) plus the permission flags, and the builder produces a PdfEncryption. See PdfEncryption for the per-platform support matrix and the meaning of each flag.
Properties
Whether text/graphics may be extracted (copy/paste, accessibility readers). Defaults to true.
Whether the document content may be modified. Defaults to false. Ignored on iOS (no corresponding Core Graphics flag).
Whether the document may be printed. Defaults to true.
Password granting full, unrestricted access. Must be set to a non-empty value — build throws otherwise, because an empty owner password offers no protection.
Password required to open the document. Empty (the default) means the document opens without a prompt while the permission flags still apply.