Method | Description | |
---|---|---|
BeginDiffieHellman ( byte &pubKey, bool initiator = false ) : |
||
CheckSum ( Stream s ) : ushort | ||
ComputeAsymetricKeys ( byte sharedSecret, byte initiatorNonce, byte responderNonce, byte &requestKey, byte &responseKey ) : void | ||
Decode ( |
||
EncodeAndPack ( |
||
ReadCRC ( |
||
Time ( System.TimeSpan timeSpan ) : ushort | ||
TimeNow ( ) : ushort | ||
UnpackUrl ( string url, string &path, |
||
UnpackUrl ( string url, string &host, ushort &port, string &path, |
public static BeginDiffieHellman ( byte &pubKey, bool initiator = false ) : |
||
pubKey | byte | |
initiator | bool | |
return |
public static ComputeAsymetricKeys ( byte sharedSecret, byte initiatorNonce, byte responderNonce, byte &requestKey, byte &responseKey ) : void | ||
sharedSecret | byte | |
initiatorNonce | byte | |
responderNonce | byte | |
requestKey | byte | |
responseKey | byte | |
return | void |
public static Decode ( |
||
aesDecrypt | ||
packet | ||
return | bool |
public static EncodeAndPack ( |
||
aesEncrypt | ||
writer | ||
farId | uint | |
ignore | int | |
return | void |
public static ReadCRC ( |
||
packet | ||
return | bool |
public static Time ( System.TimeSpan timeSpan ) : ushort | ||
timeSpan | System.TimeSpan | |
return | ushort |
public static UnpackUrl ( string url, string &path, |
||
url | string | |
path | string | |
properties | ||
return | void |
public static UnpackUrl ( string url, string &host, ushort &port, string &path, |
||
url | string | |
host | string | |
port | ushort | |
path | string | |
properties | ||
return | void |