Navigation
API > API/Plugins > API/Plugins/PlatformCryptoTypes
Helper class to ensure that only multiples of block-size get passed into our Encrypt/Decrypt functions. This class will hold onto the last-full or partial block until another call to Update or Finalize happens.
| Name | FAESBlockEncryptionHelper |
| Type | class |
| Header File | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
| Include Path | #include "PlatformCryptoTypes.h" |
Syntax
class FAESBlockEncryptionHelper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAESBlockEncryptionHelper
(
const int32 BlockSize |
PlatformCryptoTypes.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FBlockHandlerFunctionSignature | EPlatformCryptoResult(const TArrayView< const uint8 >, const TArrayView< uint8 >, int32 &) | PlatformCryptoTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EPlatformCryptoResult Finalize
(
const TFunctionRef< FBlockHandlerFunctionSignature >& FinalizeHandlingFunction, |
Process any remaining block of text that was previously sent to Update. | PlatformCryptoTypes.h | |
EPlatformCryptoResult Update
(
const TArrayView< const uint8 > InDataBuffer, |
Add text to potentialy be processed by the UpdateHandlingFunction. | PlatformCryptoTypes.h |