Property | Type | Description | |
---|---|---|---|
PType |
Property | Type | Description | |
---|---|---|---|
_buffer | byte[] | ||
_buffer_sync | object | ||
_client | bool | ||
_fe | FuzzyEvent | ||
_fe_lock | int | ||
_ip | |||
_read | |||
_ssl | Ssl | ||
_write |
Method | Description | |
---|---|---|
DtlsAssociation ( ISender sender, |
Create a DtlsFilter.
|
|
Handshake ( ) : void |
Start the session earlier than waiting for a packet to be sent. Not doing this may increase the amount of lost packets.
|
|
Renegotiate ( ) : void |
The session has gone on long enough that it is time for the peers to start using a new set of symmetric keys.
|
|
ToString ( ) : string |
Method | Description | |
---|---|---|
HandleIncoming ( |
||
HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool | ||
HandleWouldBlock ( ) : void |
Blocking may occur for two reasons, no data available or the handshake isn't complete. If the handshake isn't complete, the timer will be set to >= 0, at 0, we need to call handshake to continue, if it is greater than 0, we need to schedule a timer to call handshake later.
|
|
RemoteCertificateValidation ( object sender, Mono.Security.X509.X509Certificate cert, Mono.Security.X509.X509Chain chain, int depth, VerifyResult result ) : bool |
Override to review certificate validation decisions.
|
Method | Description | |
---|---|---|
HandleWouldBlock ( System.DateTime now ) : void |
Timercall back for internal ssl timeout.
|
public DtlsAssociation ( ISender sender, |
||
sender | ISender | |
ch | ||
ptype | ||
ssl | Ssl | |
client | bool | Use client initialization parameters. |
return | Brunet.Messaging |
protected HandleIncoming ( |
||
data | ||
app_data | ||
return | bool |
protected HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool | ||
app_data | ICopyable | |
data | ICopyable | |
return | bool |
protected RemoteCertificateValidation ( object sender, Mono.Security.X509.X509Certificate cert, Mono.Security.X509.X509Chain chain, int depth, VerifyResult result ) : bool | ||
sender | object | |
cert | Mono.Security.X509.X509Certificate | |
chain | Mono.Security.X509.X509Chain | |
depth | int | |
result | VerifyResult | |
return | bool |
protected IdentifierPair,Brunet.Messaging _ip | ||
return |