Class DtlsConnectionHelper
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public sealed class DtlsConnectionHelper : Object, IObject, INotifyPropertyChanged, IDisposable, DtlsConnection, IHandle, GTypeProvider
- Inheritance
-
DtlsConnectionHelper
- Implements
-
- Inherited Members
-
Constructors
DtlsConnectionHelper(IntPtr, bool)
public DtlsConnectionHelper(IntPtr handle, bool ownedRef)
Parameters
handle
IntPtr
ownedRef
bool
Properties
AdvertisedProtocols
public string[] AdvertisedProtocols { get; set; }
Property Value
- string[]
BaseSocket
public DatagramBased BaseSocket { get; }
Property Value
- DatagramBased
Certificate
public TlsCertificate? Certificate { get; set; }
Property Value
- TlsCertificate
CiphersuiteName
public string? CiphersuiteName { get; }
Property Value
- string
Database
public TlsDatabase? Database { get; set; }
Property Value
- TlsDatabase
Interaction
public TlsInteraction? Interaction { get; set; }
Property Value
- TlsInteraction
NegotiatedProtocol
public string? NegotiatedProtocol { get; }
Property Value
- string
PeerCertificate
public TlsCertificate? PeerCertificate { get; }
Property Value
- TlsCertificate
PeerCertificateErrors
public TlsCertificateFlags PeerCertificateErrors { get; }
Property Value
- TlsCertificateFlags
ProtocolVersion
public TlsProtocolVersion ProtocolVersion { get; }
Property Value
- TlsProtocolVersion
RehandshakeMode
public TlsRehandshakeMode RehandshakeMode { get; set; }
Property Value
- TlsRehandshakeMode
RequireCloseNotify
public bool RequireCloseNotify { get; set; }
Property Value
- bool
Methods
Close(Cancellable?)
[Version("2.48")]
public bool Close(Cancellable? cancellable)
Parameters
cancellable
Cancellable
Returns
- bool
CloseFinish(AsyncResult)
[Version("2.48")]
public bool CloseFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- bool
EmitAcceptCertificate(TlsCertificate, TlsCertificateFlags)
[Version("2.48")]
public bool EmitAcceptCertificate(TlsCertificate peerCert, TlsCertificateFlags errors)
Parameters
peerCert
TlsCertificate
errors
TlsCertificateFlags
Returns
- bool
GetCertificate()
[Version("2.48")]
public TlsCertificate? GetCertificate()
Returns
- TlsCertificate
GetCiphersuiteName()
[Version("2.70")]
public string? GetCiphersuiteName()
Returns
- string
GetDatabase()
[Version("2.48")]
public TlsDatabase? GetDatabase()
Returns
- TlsDatabase
GetGType()
public static Type GetGType()
Returns
- Type
GetInteraction()
[Version("2.48")]
public TlsInteraction? GetInteraction()
Returns
- TlsInteraction
GetNegotiatedProtocol()
[Version("2.60")]
public string? GetNegotiatedProtocol()
Returns
- string
GetPeerCertificate()
[Version("2.48")]
public TlsCertificate? GetPeerCertificate()
Returns
- TlsCertificate
GetPeerCertificateErrors()
[Version("2.48")]
public TlsCertificateFlags GetPeerCertificateErrors()
Returns
- TlsCertificateFlags
GetProtocolVersion()
[Version("2.70")]
public TlsProtocolVersion GetProtocolVersion()
Returns
- TlsProtocolVersion
GetRehandshakeMode()
[Version("2.48")]
public TlsRehandshakeMode GetRehandshakeMode()
Returns
- TlsRehandshakeMode
GetRequireCloseNotify()
[Version("2.48")]
public bool GetRequireCloseNotify()
Returns
- bool
Handshake(Cancellable?)
[Version("2.48")]
public bool Handshake(Cancellable? cancellable)
Parameters
cancellable
Cancellable
Returns
- bool
HandshakeFinish(AsyncResult)
[Version("2.48")]
public bool HandshakeFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- bool
SetAdvertisedProtocols(string[]?)
[Version("2.60")]
public void SetAdvertisedProtocols(string[]? protocols)
Parameters
protocols
string[]
SetCertificate(TlsCertificate)
[Version("2.48")]
public void SetCertificate(TlsCertificate certificate)
Parameters
certificate
TlsCertificate
SetDatabase(TlsDatabase?)
[Version("2.48")]
public void SetDatabase(TlsDatabase? database)
Parameters
database
TlsDatabase
SetInteraction(TlsInteraction?)
[Version("2.48")]
public void SetInteraction(TlsInteraction? interaction)
Parameters
interaction
TlsInteraction
SetRehandshakeMode(TlsRehandshakeMode)
[Version("2.48")]
public void SetRehandshakeMode(TlsRehandshakeMode mode)
Parameters
mode
TlsRehandshakeMode
SetRequireCloseNotify(bool)
[Version("2.48")]
public void SetRequireCloseNotify(bool requireCloseNotify)
Parameters
requireCloseNotify
bool
Shutdown(bool, bool, Cancellable?)
[Version("2.48")]
public bool Shutdown(bool shutdownRead, bool shutdownWrite, Cancellable? cancellable)
Parameters
shutdownRead
bool
shutdownWrite
bool
cancellable
Cancellable
Returns
- bool
ShutdownFinish(AsyncResult)
[Version("2.48")]
public bool ShutdownFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- bool