FAESGCMHandlerComponent

AES256 GCM block encryption component.

Windows
MacOS
Linux

Inheritance Hierarchy

HandlerComponent

FEncryptionComponent

FAESGCMHandlerComponent

References

Module

AESGCMHandlerComponent

Header

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

Include

#include "AESGCMHandlerComponent.h"

Syntax

class FAESGCMHandlerComponent : public FEncryptionComponent

Remarks

AES256 GCM block encryption component.

Constructors

Name Description

Public function

FAESGCMHandlerComponent()

Default constructor that leaves the Key empty, and encryption disabled.

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...
)

Replace the key used for encryption with NewKey if NewKey is exactly KeySizeInBytes long.

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

Constants

Name

Description

AuthTagSizeInBytes

BlockSizeInBytes

This handler uses AES256, which has 32-byte keys.

IVSizeInBytes

KeySizeInBytes

This handler uses AES256, which has 32-byte keys.

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