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
| Name | Type | Access | Description |
|---|---|---|---|
Filter | string | Read | /Filter entry — security-handler name (e.g. |
SubFilter | string | Read | /SubFilter entry — security-handler subtype. |
Version | int | Read | /V entry — algorithm version. |
Revision | int | Read | /R entry — standard-handler revision. |
KeyLength | int | Read | /Length entry — key length in bits. |
OwnerKey | byte[] | Read | /O entry — owner-password validation hash. |
UserKey | byte[] | Read | /U entry — user-password validation hash. |
Perms | byte[] | Read | /Perms entry — encrypted permissions byte string (revision 5+). |
Password | string | Read | The password supplied at decryption time (when known). |
Permissions | Aspose.Pdf.Permissions | Read | /P entry mapped to the Permissions flags enum. |
PermissionsInt | int | Read | Raw /P entry as a signed 32-bit integer. |
Methods
| Signature | Description |
|---|---|
EncryptionParameters() | Calls EncryptionParameters on this EncryptionParameters instance. |