Aspose::Pdf::Security::ICustomSecurityHandler::EncryptPermissions method
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.
virtual System::ArrayPtr<uint8_t> Aspose::Pdf::Security::ICustomSecurityHandler::EncryptPermissions(int32_t permissions)=0
| Parameter | Type | Description |
|---|---|---|
| permissions | int32_t | The document permissions in integer representation. |
ReturnValue
The encrypted array.
See Also
- Typedef ArrayPtr
- Class ICustomSecurityHandler
- Namespace Aspose::Pdf::Security
- Library Aspose.PDF for C++