Aspose::Pdf::Security::ICustomSecurityHandler::Decrypt method

ICustomSecurityHandler::Decrypt method

Decrypt the data array.

virtual System::ArrayPtr<uint8_t> Aspose::Pdf::Security::ICustomSecurityHandler::Decrypt(System::ArrayPtr<uint8_t> data, int32_t objectNumber, int32_t generation, System::ArrayPtr<uint8_t> key)=0
ParameterTypeDescription
dataSystem::ArrayPtr<uint8_t>Data to decrypt.
objectNumberint32_tNumber of the object containing the encrypted data.
generationint32_tGeneration of the object.
keySystem::ArrayPtr<uint8_t>Key obtained by the CalculateEncryptionKey method

ReturnValue

The decrypted data.

See Also