IPlatformCryptoDecryptor::Finalize

Finalizes decryption of data previously passed in Update.

Windows
MacOS
Linux

References

Module

PlatformCryptoTypes

Header

/Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h

Include

#include "PlatformCryptoTypes.h"

Syntax

EPlatformCryptoResult Finalize
(
    const TArrayView< uint8 > OutPlaintext,
    int32 & OutPlaintextBytesWritten
)

Remarks

Finalizes decryption of data previously passed in Update. If data was not aligned to blocksize, this will write the final chunk of data including any padding.

Returns

Success if input was valid and the final block was decrypted successfully, or Failure otherwise

Parameters

Parameter

Description

OutPlaintext

The final decrypted block. May not be written to if there was nothing left to write. Must be at least GetCipherBlockSize in size or the call will fail

OutPlaintextBytesWritten

The amount of data that was written. This can be from 0 to blocksize - 1

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss