Свойство | Тип | Описание | |
---|---|---|---|
_data | MemBlock | ||
_encrypted_data | MemBlock | ||
_epoch | int | ||
_seqid | int | ||
_signature | MemBlock | ||
_spi | int |
Метод | Описание | |
---|---|---|
Decrypt ( SymmetricEncryption se ) : bool |
Decrypts the packet given a SymmetricEncryption returning true if it was able to decrypt it.
|
|
Encrypt ( SymmetricEncryption se ) : void |
Encrypts the packet given a SymmetricEncryption.
|
|
SecurityDataMessage ( ) : Brunet | ||
SecurityDataMessage ( MemBlock data ) : Brunet | ||
Sign ( |
Signs a packet given a Hash algorithm.
|
|
Verify ( |
Verifies the packet given a Hash algorithm.
|
Метод | Описание | |
---|---|---|
UpdatePacket ( ) : void |
public Decrypt ( SymmetricEncryption se ) : bool | ||
se | SymmetricEncryption | |
Результат | bool |
public Encrypt ( SymmetricEncryption se ) : void | ||
se | SymmetricEncryption | |
Результат | void |
public SecurityDataMessage ( MemBlock data ) : Brunet | ||
data | MemBlock | |
Результат | Brunet |
public Sign ( |
||
hash | ||
Результат | void |
public Verify ( |
||
hash | ||
Результат | bool |