Property | Type | Description | |
---|---|---|---|
_data | MemBlock | ||
_encrypted_data | MemBlock | ||
_epoch | int | ||
_seqid | int | ||
_signature | MemBlock | ||
_spi | int |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
UpdatePacket ( ) : void |
public Decrypt ( SymmetricEncryption se ) : bool | ||
se | SymmetricEncryption | |
return | bool |
public Encrypt ( SymmetricEncryption se ) : void | ||
se | SymmetricEncryption | |
return | void |
public SecurityDataMessage ( MemBlock data ) : Brunet | ||
data | MemBlock | |
return | Brunet |
public Sign ( |
||
hash | ||
return | void |
public Verify ( |
||
hash | ||
return | bool |