Table of Contents

Class DtlsClientConnection

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class DtlsClientConnection
Inheritance
DtlsClientConnection
Inherited Members

Methods

GetAcceptedCas(IntPtr)

Calls native method g_dtls_client_connection_get_accepted_cas. Version: 2.48

[Version("2.48")]
public static extern ListOwnedHandle GetAcceptedCas(IntPtr conn)

Parameters

conn IntPtr

Transfer ownership: None Nullable: False

Returns

ListOwnedHandle

Transfer ownership: Full Nullable: False

GetGType()

Calls native function g_dtls_client_connection_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetServerIdentity(IntPtr)

Calls native method g_dtls_client_connection_get_server_identity. Version: 2.48

[Version("2.48")]
public static extern IntPtr GetServerIdentity(IntPtr conn)

Parameters

conn IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetValidationFlags(IntPtr)

Calls native method g_dtls_client_connection_get_validation_flags. Version: 2.48

[Version("2.48")]
public static extern TlsCertificateFlags GetValidationFlags(IntPtr conn)

Parameters

conn IntPtr

Transfer ownership: None Nullable: False

Returns

TlsCertificateFlags

Transfer ownership: None Nullable: False

New(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native function g_dtls_client_connection_new. Version: 2.48

[Version("2.48")]
public static extern IntPtr New(IntPtr baseSocket, IntPtr serverIdentity, out ErrorOwnedHandle error)

Parameters

baseSocket IntPtr

Transfer ownership: None Nullable: False

serverIdentity IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetServerIdentity(IntPtr, IntPtr)

Calls native method g_dtls_client_connection_set_server_identity. Version: 2.48

[Version("2.48")]
public static extern void SetServerIdentity(IntPtr conn, IntPtr identity)

Parameters

conn IntPtr

Transfer ownership: None Nullable: False

identity IntPtr

Transfer ownership: None Nullable: False

SetValidationFlags(IntPtr, TlsCertificateFlags)

Calls native method g_dtls_client_connection_set_validation_flags. Version: 2.48

[Version("2.48")]
public static extern void SetValidationFlags(IntPtr conn, TlsCertificateFlags flags)

Parameters

conn IntPtr

Transfer ownership: None Nullable: False

flags TlsCertificateFlags

Transfer ownership: None Nullable: False