| HandlerComponent
|
Module |
|
Header |
/Engine/Plugins/Runtime/PacketHandlers/AESHandlerComponent/Source/Public/AESHandlerComponent.h |
Include |
#include "AESHandlerComponent.h" |
class FAESHandlerComponent : public FEncryptionComponent
AES256 ECB block encryption component.
Name | Description | |
---|---|---|
|
FAESHandlerComponent() |
Default constructor that leaves the Key empty, and encryption disabled. |
Name | Description | ||
---|---|---|---|
|
DisableEncryption() |
After calling this, future outgoing packets will not be encrypted (until a call to DisableEncryption). |
|
|
EnableEncryption() |
After calling this, future outgoing packets will be encrypted (until a call to DisableEncryption). |
|
|
IsEncryptionEnabled() |
Returns true if encryption is currently enabled. |
|
|
SetEncryptionData ( |
Replace the key used for encryption with NewKey if NewKey is exactly KeySizeInBytes long. |
Name | Description | ||
---|---|---|---|
|
CountBytes ( |
||
|
GetReservedPacketBits() |
Returns the amount of reserved packet/protocol bits expected from this component. |
|
|
Incoming ( |
Handles incoming packets |
|
|
Initialize() |
Initialization functionality should be placed here |
|
|
IsValid() |
Return whether this handler is valid |
|
|
Outgoing ( |
Handles any outgoing packets |
Name |
Description |
---|---|
BlockSizeInBytes |
This handler uses AES256, which has 32-byte keys. |
KeySizeInBytes |
This handler uses AES256, which has 32-byte keys. |