Свойство | Тип | Описание | |
---|---|---|---|
DHEWithCertificateAndCAsInHash | WriteOnceIdempotent |
||
DHEWithCertificateAndCAsOutHash | WriteOnceIdempotent |
||
DHEWithCertificateHash | WriteOnceIdempotent |
||
RDHE | WriteOnceIdempotent |
||
RemoteCookie | WriteOnceIdempotent |
||
TIMEOUT | int |
Свойство | Тип | Описание | |
---|---|---|---|
_active | bool | ||
_called_enable | int | ||
_called_start | int | ||
_current_epoch | int | ||
_current_sh | Brunet.SecurityHandler | ||
_dh | Mono.Security.Cryptography.DiffieHellman | ||
_hash_verified | bool | ||
_last_called_request_update | System.DateTime | ||
_last_epoch | int | ||
_last_update | System.DateTime | ||
_ldhe | byte[] | ||
_local_cert | WriteOnceX509 | ||
_remote_cert | WriteOnceX509 | ||
_spi | int |
Метод | Описание | |
---|---|---|
Close ( string reason ) : bool |
This closes the SA and cleans up its state.
|
|
Enable ( ) : void |
Enables the SA if it has been properly setup.
|
|
PeerSecAssociation ( ISender sender, Brunet.CertificateHandler ch, int spi ) : Brunet | ||
Reset ( ) : void | ||
Start ( ) : bool | ||
ToString ( ) : string | ||
TryReset ( ) : bool |
This is called when we want to reset the state of the SA after an equivalent time of two timeouts has occurred.
|
|
VerifyRequest ( MemBlock hash ) : bool |
Verifies the hash with the DHEWithCertificateHash.
|
|
VerifyResponse ( MemBlock hash ) : bool |
Verifies the hash to the DHEWithCertificateAndCAsOutHash.
|
Метод | Описание | |
---|---|---|
HandleIncoming ( MemBlock data, MemBlock &app_data ) : bool |
All incoming data filters through here.
|
|
HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool |
All outgoing data filters through here.
|
|
UpdateSH ( object o, |
This method listens for the SH to request an update and passes the message to the RequestUpdate event.
|
protected HandleIncoming ( MemBlock data, MemBlock &app_data ) : bool | ||
data | MemBlock | |
app_data | MemBlock | |
Результат | bool |
protected HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool | ||
app_data | ICopyable | |
data | ICopyable | |
Результат | bool |
public PeerSecAssociation ( ISender sender, Brunet.CertificateHandler ch, int spi ) : Brunet | ||
sender | ISender | |
ch | Brunet.CertificateHandler | |
spi | int | |
Результат | Brunet |
protected UpdateSH ( object o, |
||
o | object | |
ea | ||
Результат | void |
public VerifyRequest ( MemBlock hash ) : bool | ||
hash | MemBlock | |
Результат | bool |
public VerifyResponse ( MemBlock hash ) : bool | ||
hash | MemBlock | |
Результат | bool |
public WriteOnceIdempotent |
||
Результат | WriteOnceIdempotent |
public WriteOnceIdempotent |
||
Результат | WriteOnceIdempotent |
public WriteOnceIdempotent |
||
Результат | WriteOnceIdempotent |
public WriteOnceIdempotent |
||
Результат | WriteOnceIdempotent |
protected SecurityHandler,Brunet _current_sh | ||
Результат | Brunet.SecurityHandler |
protected DiffieHellman,Mono.Security.Cryptography _dh | ||
Результат | Mono.Security.Cryptography.DiffieHellman |
protected DateTime,System _last_called_request_update | ||
Результат | System.DateTime |