EncryptionParameters

EncryptionParameters

Overview

EncryptionParameters is a class in Aspose.PDF FOSS for .NET.

Parameters parsed from the document’s /Encrypt dictionary and passed to Initialize when a custom security handler takes over for an alternative /Filter.

This class provides 1 method for working with EncryptionParameters objects in .NET programs. Available methods include: EncryptionParameters. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Filter, KeyLength, OwnerKey, Password, Permissions, PermissionsInt, and 5 more.

Properties

NameTypeAccessDescription
FilterstringRead/Filter entry — security-handler name (e.g.
SubFilterstringRead/SubFilter entry — security-handler subtype.
VersionintRead/V entry — algorithm version.
RevisionintRead/R entry — standard-handler revision.
KeyLengthintRead/Length entry — key length in bits.
OwnerKeybyte[]Read/O entry — owner-password validation hash.
UserKeybyte[]Read/U entry — user-password validation hash.
Permsbyte[]Read/Perms entry — encrypted permissions byte string (revision 5+).
PasswordstringReadThe password supplied at decryption time (when known).
PermissionsAspose.Pdf.PermissionsRead/P entry mapped to the Permissions flags enum.
PermissionsIntintReadRaw /P entry as a signed 32-bit integer.

Methods

SignatureDescription
EncryptionParameters()Calls EncryptionParameters on this EncryptionParameters instance.

See Also