FEncryptionComponent

IEncryptionComponentInterface

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

PacketHandler

Header

/Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/EncryptionComponent.h

Include

#include "EncryptionComponent.h"

Syntax

class FEncryptionComponent : public HandlerComponent

Remarks

IEncryptionComponentInterface

Constructors

Name Description

Public function

FEncryptionComponent

(
    FName InName
)

Constructor that forwards the name to the base HandlerComponent.

Functions

Name Description

Public function

void

 

DisableEncryption()

Disable encryption. Future packets that are processed by this component will not be encrypted.

Public function

void

 

EnableEncryption()

Enable encryption.

Public function Const

bool

 

IsEncryptionEnabled()

Returns true if encryption is currently enabled.

Public function

void

 

SetEncryptionData

(
    const FEncryptionData& EncryptionD...
)

Sets the encryption data to be used by this component.

Deprecated Functions

Name Description

Public function Virtual

void

 

SetEncryptionKey

(
    TArrayView< const uint8 > Key
)

Use SetEncryptionData instead