FDTLSHandlerComponent

DTLS encryption component.

Windows
MacOS
Linux

Inheritance Hierarchy

HandlerComponent

FEncryptionComponent

FDTLSHandlerComponent

References

Module

DTLSHandlerComponent

Header

/Engine/Plugins/Runtime/PacketHandlers/DTLSHandlerComponent/Source/Public/DTLSHandlerComponent.h

Include

#include "DTLSHandlerComponent.h"

Syntax

class FDTLSHandlerComponent : public FEncryptionComponent

Remarks

DTLS encryption component.

Constructors

Name Description

Public function

FDTLSHandlerComponent()

Destructors

Name Description

Public function Virtual

~FDTLSHandlerComponent()

Functions

Name Description

Public function Const

const FDTLSP...

 

GetPreSharedKey()

Retrieve pre shared key, if set.

Public function Const

const FDTLSF...

 

GetRemoteFingerprint()

Retrieve expected remote certificate fingerprint, if set.

Overridden from FEncryptionComponent

Name Description

Public function Virtual

void

 

DisableEncryption()

After calling this, future outgoing packets will not be encrypted (until a call to DisableEncryption).

Public function Virtual

void

 

EnableEncryption()

After calling this, future outgoing packets will be encrypted (until a call to DisableEncryption).

Public function Virtual Const

bool

 

IsEncryptionEnabled()

Returns true if encryption is currently enabled.

Public function Virtual

void

 

SetEncryptionData

(
    const FEncryptionData& EncryptionD...
)

Sets the encryption data to be used by this component.

Overridden from HandlerComponent

Name Description

Public function Virtual Const

void

 

CountBytes

(
    FArchive& Ar
)

Public function Virtual Const

int32

 

GetReservedPacketBits()

Returns the amount of reserved packet/protocol bits expected from this component.

Public function Virtual

void

 

Incoming

(
    FBitReader& Packet
)

Handles incoming packets

Public function Virtual

void

 

Initialize()

Initialization functionality should be placed here

Public function Virtual Const

bool

 

IsValid()

Return whether this handler is valid

Public function Virtual

void

 

Outgoing

(
    FBitWriter& Packet,
    FOutPacketTraits& Traits
)

Handles any outgoing packets

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Tick functionality should be placed here

Enums

Name

Description

Public enum

EDTLSHandlerState

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss