Navigation
API > API/Runtime > API/Runtime/PacketHandler
IEncryptionComponentInterface
| Name | FEncryptionComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/EncryptionComponent.h |
| Include Path | #include "EncryptionComponent.h" |
Syntax
class FEncryptionComponent : public HandlerComponent
Inheritance Hierarchy
- HandlerComponent → FEncryptionComponent
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEncryptionComponent
(
FName InName |
Constructor that forwards the name to the base HandlerComponent. | EncryptionComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DisableEncryption() |
Disable encryption. Future packets that are processed by this component will not be encrypted. | EncryptionComponent.h | |
void EnableEncryption () |
Enable encryption. | EncryptionComponent.h | |
bool IsEncryptionEnabled() |
Returns true if encryption is currently enabled. | EncryptionComponent.h | |
void SetEncryptionData
(
const FEncryptionData& EncryptionData |
Sets the encryption data to be used by this component. | EncryptionComponent.h | |
virtual void SetEncryptionKey
(
TArrayView< const uint8 > Key |
Sets the encryption key to be used by this component. | EncryptionComponent.h |