Internet Protocol
Unreal Engine Plugin

TCP Client Openssl

How to use TCP client class with openssl

References

#include "TCP/TCPClient.h"

How to use

Blueprint: search by GetInternetProtocolSubsystem and call CreateTCPClientSsl function

C++: Use the code bellow

#include "TCP/TCPClient.h"
 
UTCPClientSsl* TcpClientSsl = NewObject<UTCPClientSsl>();

Functions

This class has the same functions from TCPClient, except for the ones shown below

Update Ssl Socket

  • Update ssl config.
  • Must be called after change any config from Ssl Context.
TCP client openssl

Get Ssl Context

  • Get ssl context properties.
  • Must be called after change any config from Ssl Context.
TCP client openssl

Get Ssl Socket

  • Get ssl socket properties.
TCP client openssl

Load Private Key Data

  • Load the private key from a string.
  • If any error occurs, it will trigger the OnError event.
TCP client openssl

Load Private Key File

  • Load the private key from file.
  • If any error occurs, it will trigger the OnError event.
  • Relative path.
TCP client openssl

Load Certificate Data

  • Load the certificate from a string.
  • If any error occurs, it will trigger the OnError event.
TCP client openssl

Load Certificate File

  • Load the certificate from file.
  • If any error occurs, it will trigger the OnError event.
  • Relative path.
TCP client openssl

Load Certificate Chain Data

  • Load the certificate chain from a string.
  • If any error occurs, it will trigger the OnError event.
TCP client openssl

Load Certificate Chain File

  • Load the certificate chain from file.
  • If any error occurs, it will trigger the OnError event.
  • Relative path.
TCP client openssl

Load Verify File

  • Load the certificate from file and verify if it is valid.
  • If any error occurs, it will trigger the OnError event.
  • Relative path.
TCP client openssl

On this page