DtlsConnectionIF

interface DtlsConnectionIF {}

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()
getStruct
void* getStruct()

the main Gtk struct as a void*

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.

Meta