FDTLSCertStore::CreateCert

Create a new certificate and store internally

Windows
MacOS
Linux

References

Module

DTLSHandlerComponent

Header

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

Include

#include "DTLSCertStore.h"

Source

/Engine/Plugins/Runtime/PacketHandlers/DTLSHandlerComponent/Source/Private/DTLSCertStore.cpp

Syntax

TSharedPtr< FDTLSCertificate > CreateCert
(
    const FTimespan & Lifetime,
    const FString & Identifier
)

Remarks

Create a new certificate and store internally

Lifetime time in seconds until expiration of certificate Identifier name to use when storing certificate for later use

Returns

shared pointer to certificate, valid if creation succeeded

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