IPlatformCryptoEncryptor::Finalize

Finalizes encryption 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 > OutCiphertext,
    int32 & OutCiphertextBytesWritten
)

Remarks

Finalizes encryption 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 encrypted successfully, or Failure otherwise

Parameters

Parameter

Description

OutCiphertext

The final encrypted block, if there is more data to be written. Must be at least GetFinalizeBufferSizeBytes in size or Finalize will fail

OutCiphertextBytesWritten

The amount of data that was written. This can be from 0 to GetFinalizeBufferSizeBytes

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