Click or drag to resize

StreamPeerSSLAcceptStream Method

Accepts a peer connection as a server using the given private_key and providing the given certificate to the client. 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 AcceptStream(
	StreamPeer stream,
	CryptoKey privateKey,
	X509Certificate certificate,
	X509Certificate chain = null
)

Parameters

stream
Type: GodotStreamPeer

[Missing <param name="stream"/> documentation for "M:Godot.StreamPeerSSL.AcceptStream(Godot.StreamPeer,Godot.CryptoKey,Godot.X509Certificate,Godot.X509Certificate)"]

privateKey
Type: GodotCryptoKey

[Missing <param name="privateKey"/> documentation for "M:Godot.StreamPeerSSL.AcceptStream(Godot.StreamPeer,Godot.CryptoKey,Godot.X509Certificate,Godot.X509Certificate)"]

certificate
Type: GodotX509Certificate

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

chain (Optional)
Type: GodotX509Certificate

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

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.StreamPeerSSL.AcceptStream(Godot.StreamPeer,Godot.CryptoKey,Godot.X509Certificate,Godot.X509Certificate)"]

See Also