Navigation
API > API/Runtime > API/Runtime/PacketHandler > API/Runtime/PacketHandler/FEncryptionComponent
Description
Sets the encryption key to be used by this component. The key must be the correct size for the encryption algorithm that the component implements. This should be called before EnableEncryption.
| Name | SetEncryptionKey |
| Type | function |
| Header File | /Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/EncryptionComponent.h |
| Include Path | #include "EncryptionComponent.h" |
virtual void SetEncryptionKey
(
TArrayView < const uint8 > Key
)