Navigation
Unreal Engine C++ API Reference > Plugins > PlatformCryptoTypes > IPlatformCryptoDecryptor
References
Module | PlatformCryptoTypes |
Header | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
Include | #include "PlatformCryptoTypes.h" |
EPlatformCryptoResult Finalize
&40;
const TArrayView< uint8 > OutPlaintext,
int32 & OutPlaintextBytesWritten
&41;
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. Success if input was valid and the final block was decrypted successfully, or Failure otherwise
Parameters
Name | 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 |