FDTLSCertificate::GenerateCertificate

Generate a self-signed certificate

Windows
MacOS
Linux

References

Module

DTLSHandlerComponent

Header

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

Include

#include "DTLSCertificate.h"

Source

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

Syntax

bool GenerateCertificate
(
    const FTimespan & Lifetime
)

Remarks

Generate a self-signed certificate

Returns

true if creation succeeded

Parameters

Parameter

Description

Lifetime

number of seconds until the certificate should expire

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