Method | Description | |
---|---|---|
Client ( string server_addr, |
||
DecodeMessage2 ( Stream sr2, |
||
GetMessage ( byte prvkey, byte pubkey, Action |
||
RegisterPublicKey ( byte prvkey, byte pubkey ) : void | ||
SendMessage ( byte recipient_pubkey, byte replyTo, string txt, byte prvkey, byte pubkey ) : byte[] | ||
UnregisterPublicKey ( byte prvkey, byte pubkey ) : void |
Method | Description | |
---|---|---|
DecodeMessage ( byte aesbuf, byte aeskey, byte aesIV, |
||
EncodeMessage ( byte recipient_pubkey, byte msgid, byte replyTo, string txt, byte prvkey, byte pubkey, byte &aes_key, byte &aes_iv ) : byte[] | ||
SendPublicKey ( byte pubkey ) : void |
public Client ( string server_addr, |
||
server_addr | string | |
server_port | ||
proxy_addr | string | |
proxy_port | ||
server_pubkey | ||
return | System |
public static DecodeMessage2 ( Stream sr2, |
||
sr2 | Stream | |
rsaprv | ||
mypub | byte | |
return | Message |
public GetMessage ( byte prvkey, byte pubkey, Action |
||
prvkey | byte | |
pubkey | byte | |
store | Action |
|
return | int |
public RegisterPublicKey ( byte prvkey, byte pubkey ) : void | ||
prvkey | byte | |
pubkey | byte | |
return | void |
public SendMessage ( byte recipient_pubkey, byte replyTo, string txt, byte prvkey, byte pubkey ) : byte[] | ||
recipient_pubkey | byte | |
replyTo | byte | |
txt | string | |
prvkey | byte | |
pubkey | byte | |
return | byte[] |
public UnregisterPublicKey ( byte prvkey, byte pubkey ) : void | ||
prvkey | byte | |
pubkey | byte | |
return | void |