Table of Contents

Interface DtlsConnection

Namespace
Gio
Assembly
Gio-2.0.dll
public interface DtlsConnection : IHandle
Inherited Members

Fields

AdvertisedProtocolsPropertyDefinition

public static readonly Property<string[], DtlsConnection> AdvertisedProtocolsPropertyDefinition

Field Value

Property<string[], DtlsConnection>

BaseSocketPropertyDefinition

public static readonly Property<DatagramBased, DtlsConnection> BaseSocketPropertyDefinition

Field Value

Property<DatagramBased, DtlsConnection>

CertificatePropertyDefinition

public static readonly Property<TlsCertificate?, DtlsConnection> CertificatePropertyDefinition

Field Value

Property<TlsCertificate, DtlsConnection>

CiphersuiteNamePropertyDefinition

public static readonly Property<string?, DtlsConnection> CiphersuiteNamePropertyDefinition

Field Value

Property<string, DtlsConnection>

DatabasePropertyDefinition

public static readonly Property<TlsDatabase?, DtlsConnection> DatabasePropertyDefinition

Field Value

Property<TlsDatabase, DtlsConnection>

InteractionPropertyDefinition

public static readonly Property<TlsInteraction?, DtlsConnection> InteractionPropertyDefinition

Field Value

Property<TlsInteraction, DtlsConnection>

NegotiatedProtocolPropertyDefinition

public static readonly Property<string?, DtlsConnection> NegotiatedProtocolPropertyDefinition

Field Value

Property<string, DtlsConnection>

PeerCertificateErrorsPropertyDefinition

public static readonly Property<TlsCertificateFlags, DtlsConnection> PeerCertificateErrorsPropertyDefinition

Field Value

Property<TlsCertificateFlags, DtlsConnection>

PeerCertificatePropertyDefinition

public static readonly Property<TlsCertificate?, DtlsConnection> PeerCertificatePropertyDefinition

Field Value

Property<TlsCertificate, DtlsConnection>

ProtocolVersionPropertyDefinition

public static readonly Property<TlsProtocolVersion, DtlsConnection> ProtocolVersionPropertyDefinition

Field Value

Property<TlsProtocolVersion, DtlsConnection>

RehandshakeModePropertyDefinition

public static readonly Property<TlsRehandshakeMode, DtlsConnection> RehandshakeModePropertyDefinition

Field Value

Property<TlsRehandshakeMode, DtlsConnection>

RequireCloseNotifyPropertyDefinition

public static readonly Property<bool, DtlsConnection> RequireCloseNotifyPropertyDefinition

Field Value

Property<bool, DtlsConnection>

Properties

AdvertisedProtocols

string[] AdvertisedProtocols { get; set; }

Property Value

string[]

BaseSocket

DatagramBased BaseSocket { get; }

Property Value

DatagramBased

Certificate

TlsCertificate? Certificate { get; set; }

Property Value

TlsCertificate

CiphersuiteName

string? CiphersuiteName { get; }

Property Value

string

Database

TlsDatabase? Database { get; set; }

Property Value

TlsDatabase

Interaction

TlsInteraction? Interaction { get; set; }

Property Value

TlsInteraction

NegotiatedProtocol

string? NegotiatedProtocol { get; }

Property Value

string

PeerCertificate

TlsCertificate? PeerCertificate { get; }

Property Value

TlsCertificate

PeerCertificateErrors

TlsCertificateFlags PeerCertificateErrors { get; }

Property Value

TlsCertificateFlags

ProtocolVersion

TlsProtocolVersion ProtocolVersion { get; }

Property Value

TlsProtocolVersion

RehandshakeMode

TlsRehandshakeMode RehandshakeMode { get; set; }

Property Value

TlsRehandshakeMode

RequireCloseNotify

bool RequireCloseNotify { get; set; }

Property Value

bool

Methods

Close(Cancellable?)

[Version("2.48")]
bool Close(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

CloseFinish(AsyncResult)

[Version("2.48")]
bool CloseFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

EmitAcceptCertificate(TlsCertificate, TlsCertificateFlags)

[Version("2.48")]
bool EmitAcceptCertificate(TlsCertificate peerCert, TlsCertificateFlags errors)

Parameters

peerCert TlsCertificate
errors TlsCertificateFlags

Returns

bool

GetCertificate()

[Version("2.48")]
TlsCertificate? GetCertificate()

Returns

TlsCertificate

GetCiphersuiteName()

[Version("2.70")]
string? GetCiphersuiteName()

Returns

string

GetDatabase()

[Version("2.48")]
TlsDatabase? GetDatabase()

Returns

TlsDatabase

GetInteraction()

[Version("2.48")]
TlsInteraction? GetInteraction()

Returns

TlsInteraction

GetNegotiatedProtocol()

[Version("2.60")]
string? GetNegotiatedProtocol()

Returns

string

GetPeerCertificate()

[Version("2.48")]
TlsCertificate? GetPeerCertificate()

Returns

TlsCertificate

GetPeerCertificateErrors()

[Version("2.48")]
TlsCertificateFlags GetPeerCertificateErrors()

Returns

TlsCertificateFlags

GetProtocolVersion()

[Version("2.70")]
TlsProtocolVersion GetProtocolVersion()

Returns

TlsProtocolVersion

GetRehandshakeMode()

[Version("2.48")]
TlsRehandshakeMode GetRehandshakeMode()

Returns

TlsRehandshakeMode

GetRequireCloseNotify()

[Version("2.48")]
bool GetRequireCloseNotify()

Returns

bool

Handshake(Cancellable?)

[Version("2.48")]
bool Handshake(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

HandshakeFinish(AsyncResult)

[Version("2.48")]
bool HandshakeFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

SetAdvertisedProtocols(string[]?)

[Version("2.60")]
void SetAdvertisedProtocols(string[]? protocols)

Parameters

protocols string[]

SetCertificate(TlsCertificate)

[Version("2.48")]
void SetCertificate(TlsCertificate certificate)

Parameters

certificate TlsCertificate

SetDatabase(TlsDatabase?)

[Version("2.48")]
void SetDatabase(TlsDatabase? database)

Parameters

database TlsDatabase

SetInteraction(TlsInteraction?)

[Version("2.48")]
void SetInteraction(TlsInteraction? interaction)

Parameters

interaction TlsInteraction

SetRehandshakeMode(TlsRehandshakeMode)

[Version("2.48")]
void SetRehandshakeMode(TlsRehandshakeMode mode)

Parameters

mode TlsRehandshakeMode

SetRequireCloseNotify(bool)

[Version("2.48")]
void SetRequireCloseNotify(bool requireCloseNotify)

Parameters

requireCloseNotify bool

Shutdown(bool, bool, Cancellable?)

[Version("2.48")]
bool Shutdown(bool shutdownRead, bool shutdownWrite, Cancellable? cancellable)

Parameters

shutdownRead bool
shutdownWrite bool
cancellable Cancellable

Returns

bool

ShutdownFinish(AsyncResult)

[Version("2.48")]
bool ShutdownFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool