Navigation
Unreal Engine C++ API Reference > Plugins > AESGCMHandlerComponent
Inheritance Hierarchy
- HandlerComponent
- FEncryptionComponent
- FAESGCMHandlerComponent
References
Module | AESGCMHandlerComponent |
Header | /Engine/Plugins/Runtime/PacketHandlers/AESGCMHandlerComponent/Source/Public/AESGCMHandlerComponent.h |
Include | #include "AESGCMHandlerComponent.h" |
Syntax
class FAESGCMHandlerComponent : public FEncryptionComponent
Remarks
AES256 GCM block encryption component.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor that leaves the Key empty, and encryption disabled. |
Overridden from FEncryptionComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | After calling this, future outgoing packets will not be encrypted (until a call to DisableEncryption). | |
![]() ![]() |
void | After calling this, future outgoing packets will be encrypted (until a call to DisableEncryption). | |
![]() ![]() ![]() |
bool | Returns true if encryption is currently enabled. | |
![]() ![]() |
void | SetEncryptionData
(
const FEncryptionData& EncryptionData |
Replace the key used for encryption with NewKey if NewKey is exactly KeySizeInBytes long. |
Overridden from HandlerComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | CountBytes
(
FArchive& Ar |
|
![]() ![]() ![]() |
int32 | Returns the amount of reserved packet/protocol bits expected from this component. | |
![]() ![]() |
void | Incoming
(
FIncomingPacketRef PacketRef |
Handles incoming packets |
![]() ![]() |
void | InitFaultRecovery
(
UE::Net::FNetConnectionFaultRecoveryBase* InFaultRecovery |
Initializes a reference to the NetConnection fault recovery interface (does not require Engine dependency) |
![]() ![]() |
void | Initialize () |
Initialization functionality should be placed here |
![]() ![]() ![]() |
bool | IsValid () |
Return whether this handler is valid |
![]() ![]() |
void | Outgoing
(
FBitWriter& Packet, |
Handles any outgoing packets |
Constants
Name | Description |
---|---|
AuthTagSizeInBytes | |
BlockSizeInBytes | This handler uses AES256, which has 32-byte keys. |
IVSizeInBytes | |
KeySizeInBytes | This handler uses AES256, which has 32-byte keys. |