Navigation
API > API/Plugins > API/Plugins/AESHandlerComponent
AES256 ECB block encryption component.
| Name | FAESHandlerComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/PacketHandlers/AESHandlerComponent/Source/Public/AESHandlerComponent.h |
| Include Path | #include "AESHandlerComponent.h" |
Syntax
class FAESHandlerComponent : public FEncryptionComponent
Inheritance Hierarchy
- HandlerComponent → FEncryptionComponent → FAESHandlerComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAESHandlerComponent() |
Default constructor that leaves the Key empty, and encryption disabled. | AESHandlerComponent.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BlockSizeInBytes | const int32 | This handler uses AES256, which has 32-byte keys. | AESHandlerComponent.h |
| KeySizeInBytes | const int32 | This handler uses AES256, which has 32-byte keys. | AESHandlerComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEncryptionEnabled | bool | AESHandlerComponent.h | ||
| Ciphertext | TArray< uint8 > | AESHandlerComponent.h | ||
| EncryptionContext | TUniquePtr< FEncryptionContext > | AESHandlerComponent.h | ||
| Key | TArray< uint8 > | AESHandlerComponent.h |
Functions
Public
Overridden from FEncryptionComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DisableEncryption() |
After calling this, future outgoing packets will not be encrypted (until a call to DisableEncryption). | AESHandlerComponent.h | |
virtual void EnableEncryption() |
After calling this, future outgoing packets will be encrypted (until a call to DisableEncryption). | AESHandlerComponent.h | |
virtual bool IsEncryptionEnabled() |
Returns true if encryption is currently enabled. | AESHandlerComponent.h | |
virtual void SetEncryptionData
(
const FEncryptionData& EncryptionData |
Replace the key used for encryption with NewKey if NewKey is exactly KeySizeInBytes long. | AESHandlerComponent.h |
Overridden from HandlerComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CountBytes
(
FArchive& Ar |
AESHandlerComponent.h | ||
virtual int32 GetReservedPacketBits() |
AESHandlerComponent.h | ||
virtual void Incoming
(
FBitReader& Packet |
AESHandlerComponent.h | ||
virtual void Initialize() |
AESHandlerComponent.h | ||
virtual bool IsValid() |
AESHandlerComponent.h | ||
virtual void Outgoing
(
FBitWriter& Packet, |
AESHandlerComponent.h |