Navigation
Unreal Engine C++ API Reference > Plugins > PlatformCryptoTypes > IPlatformCryptoEncryptor
References
Module | PlatformCryptoTypes |
Header | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
Include | #include "PlatformCryptoTypes.h" |
EPlatformCryptoResult GenerateAuthTag
(
const TArrayView < uint8 > OutAuthTag,
int32 & OutAuthTagBytesWritten
) const
Remarks
For ciphers that support authentication tags, you may call this function to retreive the AuthTag after Finalize is called successfully. This will fail for ciphers that do not support AuthTags.
Parameters
Name | Description |
---|---|
OutAuthTag | The Auth Tag used to validate integrity of the the encrypted data during decryption. Must be at least GetAuthTagSizeBytes in size or GetAuthTag will fail. |
OutAuthTagBytesWritten | The amount of bytes written to OutAuthTag. This can be from 0 to GetAuthTagSizebytes |