Navigation
Unreal Engine C++ API Reference > Plugins > PlatformCryptoTypes
References
Module | PlatformCryptoTypes |
Header | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
Include | #include "PlatformCryptoTypes.h" |
Syntax
class IPlatformCryptoDecryptor
Remarks
Instance of a decryptor used to progressively decrypt a message in chunks. This is useful when you may not have all data loaded available at one time.
Encrypted ciphertext should be fed into one or more calls to Update, and then Finalize should be called. It is invalid to call Update after Finalize has been called.
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
EPlatformCryptoResult | Finalize
(
const TArrayView< uint8 > OutPlaintext, |
Finalizes decryption of data previously passed in Update. |
![]() ![]() |
int32 | Get the required size in bytes for the GenerateAuthTag call's OutAuthTag buffer | |
![]() ![]() |
int32 | Get the block size of the decryption cipher for this object. | |
![]() ![]() |
int32 | Get the initialization vector size of the decryption cipher for this object. | |
![]() ![]() |
FName | Get the name of the decryption cipher for this object | |
![]() ![]() |
int32 | Get the minimum required out-data size for the finalize call | |
![]() ![]() |
int32 | GetUpdateBufferSizeBytes
(
const TArrayView< const uint8 > Ciphertext |
Get the minimum required out-data size for a particular Ciphertext value |
![]() |
EPlatformCryptoResult | Reset
(
const TArrayView< const uint8 > InitializationVector |
Resets block cipher. |
![]() |
EPlatformCryptoResult | SetAuthTag
(
const TArrayView< const uint8 > AuthTag |
For ciphers that require authentication tags, you must call this function to set the AuthTag for the encrypted data before you may call Finalize. |
![]() |
EPlatformCryptoResult | Update
(
const TArrayView< const uint8 > Ciphertext, |
Decrypt one or more blocks of data. |