Dtls
Connection
Interface
constructor
g
Iface
name
accept
Certificate
get
Binding
Data
get
Negotiated
Protocol
handshake
handshake
Async
handshake
Finish
set
Advertised
Protocols
shutdown
shutdown
Async
shutdown
Finish
NODE-GTK API Reference
Gio-2.0
Gio
DtlsConnectionInterface
Class DtlsConnectionInterface
Virtual method table for a #GDtlsConnection implementation.
record
Hierarchy
DtlsConnectionInterface
Index
Constructors
constructor
Properties
g
Iface
name
Methods
accept
Certificate
get
Binding
Data
get
Negotiated
Protocol
handshake
handshake
Async
handshake
Finish
set
Advertised
Protocols
shutdown
shutdown
Async
shutdown
Finish
Constructors
constructor
new
Dtls
Connection
Interface
(
)
:
DtlsConnectionInterface
Returns
DtlsConnectionInterface
Properties
g
Iface
g
Iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
accept
Certificate
accept
Certificate
(
connection
:
DtlsConnection
, peerCert
:
TlsCertificate
, errors
:
TlsCertificateFlags
)
:
boolean
Parameters
connection:
DtlsConnection
peerCert:
TlsCertificate
errors:
TlsCertificateFlags
Returns
boolean
get
Binding
Data
get
Binding
Data
(
conn
:
DtlsConnection
, type
:
TlsChannelBindingType
, data
:
Uint8Array
)
:
boolean
Parameters
conn:
DtlsConnection
type:
TlsChannelBindingType
data:
Uint8Array
Returns
boolean
get
Negotiated
Protocol
get
Negotiated
Protocol
(
conn
:
DtlsConnection
)
:
string
Parameters
conn:
DtlsConnection
Returns
string
handshake
handshake
(
conn
:
DtlsConnection
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
conn:
DtlsConnection
cancellable:
Gio
.
Cancellable
Returns
boolean
handshake
Async
handshake
Async
(
conn
:
DtlsConnection
, ioPriority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
conn:
DtlsConnection
ioPriority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
handshake
Finish
handshake
Finish
(
conn
:
DtlsConnection
, result
:
AsyncResult
)
:
boolean
Parameters
conn:
DtlsConnection
result:
AsyncResult
Returns
boolean
set
Advertised
Protocols
set
Advertised
Protocols
(
conn
:
DtlsConnection
, protocols
:
string
[]
)
:
void
Parameters
conn:
DtlsConnection
protocols:
string
[]
Returns
void
shutdown
shutdown
(
conn
:
DtlsConnection
, shutdownRead
:
boolean
, shutdownWrite
:
boolean
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
conn:
DtlsConnection
shutdownRead:
boolean
shutdownWrite:
boolean
cancellable:
Gio
.
Cancellable
Returns
boolean
shutdown
Async
shutdown
Async
(
conn
:
DtlsConnection
, shutdownRead
:
boolean
, shutdownWrite
:
boolean
, ioPriority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
conn:
DtlsConnection
shutdownRead:
boolean
shutdownWrite:
boolean
ioPriority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
shutdown
Finish
shutdown
Finish
(
conn
:
DtlsConnection
, result
:
AsyncResult
)
:
boolean
Parameters
conn:
DtlsConnection
result:
AsyncResult
Returns
boolean
Dtls
Connection
Interface
constructor
g
Iface
name
accept
Certificate
get
Binding
Data
get
Negotiated
Protocol
handshake
handshake
Async
handshake
Finish
set
Advertised
Protocols
shutdown
shutdown
Async
shutdown
Finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5EdGxzQ29ubmVjdGlvbkludGVyZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocm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