Class DtlsClientConnection
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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
serverIdentity
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
identity
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
flags
TlsCertificateFlagsTransfer ownership: None Nullable: False