public class ConfidentialTxJNA
extends java.lang.Object
| 构造器和说明 |
|---|
ConfidentialTxJNA() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
confidential_tx_verify(byte[] tx_data,
int tx_len)
Verify the confidential tx.
|
static byte[] |
create_confidential_tx_by_rlp(byte[] data,
int data_len)
Create a confidential tx.
|
static byte[] |
create_confidential_tx(byte[] tx_json,
int tx_len)
Create a confidential tx.
|
static byte[] |
create_keypair(byte[] sk_data,
int sk_len)
Create a key pair for view key and spend key.
|
static byte[] |
decrypt_note(byte[] cipher_data,
int cipher_len,
byte[] view_sk_data,
int view_sk_len)
Decrypt the quatity and blinding.
|
static boolean |
is_note_owner(byte[] ephemeral_pk_data,
int ephemeral_pk_len,
byte[] sign_pk_data,
int sign_pk_len,
byte[] spend_pk_data,
int spend_pk_len,
byte[] view_sk_data,
int view_sk_len)
Is the owner of note.
|
public static byte[] create_confidential_tx(byte[] tx_json,
int tx_len)
public static byte[] create_confidential_tx_by_rlp(byte[] data,
int data_len)
public static byte[] confidential_tx_verify(byte[] tx_data,
int tx_len)
public static byte[] create_keypair(byte[] sk_data,
int sk_len)
public static boolean is_note_owner(byte[] ephemeral_pk_data,
int ephemeral_pk_len,
byte[] sign_pk_data,
int sign_pk_len,
byte[] spend_pk_data,
int spend_pk_len,
byte[] view_sk_data,
int view_sk_len)
public static byte[] decrypt_note(byte[] cipher_data,
int cipher_len,
byte[] view_sk_data,
int view_sk_len)