Click or drag to resize

DTLSServerSetup Method

Setup the DTLS server to use the given private_key and provide the given certificate to clients. You can pass the optional chain parameter to provide additional CA chain information along with the certificate.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error Setup(
	CryptoKey key,
	X509Certificate certificate,
	X509Certificate chain = null
)

Parameters

key
Type: GodotCryptoKey

[Missing <param name="key"/> documentation for "M:Godot.DTLSServer.Setup(Godot.CryptoKey,Godot.X509Certificate,Godot.X509Certificate)"]

certificate
Type: GodotX509Certificate

[Missing <param name="certificate"/> documentation for "M:Godot.DTLSServer.Setup(Godot.CryptoKey,Godot.X509Certificate,Godot.X509Certificate)"]

chain (Optional)
Type: GodotX509Certificate

[Missing <param name="chain"/> documentation for "M:Godot.DTLSServer.Setup(Godot.CryptoKey,Godot.X509Certificate,Godot.X509Certificate)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.DTLSServer.Setup(Godot.CryptoKey,Godot.X509Certificate,Godot.X509Certificate)"]

See Also