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
ParameterTypeDescription
permissionsint32_tThe document permissions in integer representation.

ReturnValue

The encrypted array.

See Also