ICustomSecurityHandler.EncryptPermissions
ICustomSecurityHandler.EncryptPermissions method
Encrypt the document’s permissions field. The result will be written to the Perms encryption dictionary field. When opening a document, the value can be obtained in EncryptionParameters
via the Perms field. Allows you to check if the document permissions have changed.
public byte[] EncryptPermissions(int permissions)
Parameter | Type | Description |
---|---|---|
permissions | Int32 | The document permissions in integer representation. |
Return Value
The encrypted array.
See Also
- interface ICustomSecurityHandler
- namespace Aspose.Pdf.Security
- assembly Aspose.PDF