Method | Description | |
---|---|---|
ECC ( byte pubkey = null, byte privkey = null, byte pubkey_x = null, byte pubkey_y = null, byte raw_privkey = null, |
||
_decode_privkey ( byte privkey, |
||
_decode_pubkey ( byte pubkey, |
||
_set_keys ( byte pubkey_x, byte pubkey_y, byte privkey ) : void | ||
generate ( ) : void | ||
get_privkey ( ) : byte[] | ||
get_pubkey ( ) : byte[] | ||
raw_get_ecdh_key ( byte pubkey_x, byte pubkey_y ) : byte[] |
Method | Description | |
---|---|---|
raw_check_key ( byte privkey, byte pubkey_x, byte pubkey_y, int curve_par ) : int |
public ECC ( byte pubkey = null, byte privkey = null, byte pubkey_x = null, byte pubkey_y = null, byte raw_privkey = null, |
||
pubkey | byte | |
privkey | byte | |
pubkey_x | byte | |
pubkey_y | byte | |
raw_privkey | byte | |
curve | ||
return | System |
public static _decode_privkey ( byte privkey, |
||
privkey | byte | |
curve | ||
privkeyOut | byte | |
pos | int | |
return | void |
public static _decode_pubkey ( byte pubkey, |
||
pubkey | byte | |
curve | ||
pubkeyX | byte | |
pubkeyY | byte | |
pos | int | |
return | void |
public _set_keys ( byte pubkey_x, byte pubkey_y, byte privkey ) : void | ||
pubkey_x | byte | |
pubkey_y | byte | |
privkey | byte | |
return | void |
public raw_get_ecdh_key ( byte pubkey_x, byte pubkey_y ) : byte[] | ||
pubkey_x | byte | |
pubkey_y | byte | |
return | byte[] |