DtlsConnectionT

template DtlsConnectionT (
TStruct
) {}

Members

Functions

addOnAcceptCertificate
void addOnAcceptCertificate(bool delegate(TlsCertificate, GTlsCertificateFlags, DtlsConnectionIF) dlg, ConnectFlags connectFlags)
close
bool close(Cancellable cancellable)
closeAsync
void closeAsync(int ioPriority, Cancellable cancellable, GAsyncReadyCallback callback, void* userData)
closeFinish
bool closeFinish(AsyncResultIF result)
emitAcceptCertificate
bool emitAcceptCertificate(TlsCertificate peerCert, GTlsCertificateFlags errors)
getCertificate
TlsCertificate getCertificate()
getDatabase
TlsDatabase getDatabase()
getDtlsConnectionStruct
GDtlsConnection* getDtlsConnectionStruct()

Get the main Gtk struct

getInteraction
TlsInteraction getInteraction()
getPeerCertificate
TlsCertificate getPeerCertificate()
getPeerCertificateErrors
GTlsCertificateFlags getPeerCertificateErrors()
getRehandshakeMode
GTlsRehandshakeMode getRehandshakeMode()
getRequireCloseNotify
bool getRequireCloseNotify()
handshake
bool handshake(Cancellable cancellable)
handshakeAsync
void handshakeAsync(int ioPriority, Cancellable cancellable, GAsyncReadyCallback callback, void* userData)
handshakeFinish
bool handshakeFinish(AsyncResultIF result)
setCertificate
void setCertificate(TlsCertificate certificate)
setDatabase
void setDatabase(TlsDatabase database)
setInteraction
void setInteraction(TlsInteraction interaction)
setRehandshakeMode
void setRehandshakeMode(GTlsRehandshakeMode mode)
setRequireCloseNotify
void setRequireCloseNotify(bool requireCloseNotify)
shutdown
bool shutdown(bool shutdownRead, bool shutdownWrite, Cancellable cancellable)
shutdownAsync
void shutdownAsync(bool shutdownRead, bool shutdownWrite, int ioPriority, Cancellable cancellable, GAsyncReadyCallback callback, void* userData)
shutdownFinish
bool shutdownFinish(AsyncResultIF result)

Properties

onAcceptCertificateListeners
bool delegate(TlsCertificate, GTlsCertificateFlags, DtlsConnectionIF)[] onAcceptCertificateListeners [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

callBackAcceptCertificate
int callBackAcceptCertificate(GDtlsConnection* dtlsconnectionStruct, GTlsCertificate* object, GTlsCertificateFlags p0, DtlsConnectionIF _dtlsconnection)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_onAcceptCertificateListeners
bool delegate(TlsCertificate, GTlsCertificateFlags, DtlsConnectionIF)[] _onAcceptCertificateListeners;
Undocumented in source.
connectedSignals
int[string] connectedSignals;
Undocumented in source.

Meta