public interface ConfidentialLibrary
extends com.sun.jna.Library
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
_STDINT_H
native declaration : /usr/include/stdint.h
|
static ConfidentialLibrary |
INSTANCE |
static int |
INT_FAST16_MAX
native declaration : /usr/include/stdint.h
|
static int |
INT_FAST16_MIN
native declaration : /usr/include/stdint.h
|
static int |
INT_FAST32_MAX
native declaration : /usr/include/stdint.h
|
static int |
INT_FAST32_MIN
native declaration : /usr/include/stdint.h
|
static long |
INT_FAST64_MAX
native declaration : /usr/include/stdint.h
|
static long |
INT_FAST64_MIN
native declaration : /usr/include/stdint.h
|
static int |
INT_FAST8_MAX
native declaration : /usr/include/stdint.h
|
static int |
INT_FAST8_MIN
native declaration : /usr/include/stdint.h
|
static int |
INT_LEAST16_MAX
native declaration : /usr/include/stdint.h
|
static int |
INT_LEAST16_MIN
native declaration : /usr/include/stdint.h
|
static int |
INT_LEAST32_MAX
native declaration : /usr/include/stdint.h
|
static int |
INT_LEAST32_MIN
native declaration : /usr/include/stdint.h
|
static long |
INT_LEAST64_MAX
native declaration : /usr/include/stdint.h
|
static long |
INT_LEAST64_MIN
native declaration : /usr/include/stdint.h
|
static int |
INT_LEAST8_MAX
native declaration : /usr/include/stdint.h
|
static int |
INT_LEAST8_MIN
native declaration : /usr/include/stdint.h
|
static int |
INT16_MAX
native declaration : /usr/include/stdint.h
|
static int |
INT16_MIN
native declaration : /usr/include/stdint.h
|
static int |
INT32_MAX
native declaration : /usr/include/stdint.h
|
static int |
INT32_MIN
native declaration : /usr/include/stdint.h
|
static long |
INT64_MAX
native declaration : /usr/include/stdint.h
|
static long |
INT64_MIN
native declaration : /usr/include/stdint.h
|
static int |
INT8_MAX
native declaration : /usr/include/stdint.h
|
static int |
INT8_MIN
native declaration : /usr/include/stdint.h
|
static long |
INTMAX_MAX
native declaration : /usr/include/stdint.h
|
static long |
INTMAX_MIN
native declaration : /usr/include/stdint.h
|
static int |
INTPTR_MAX
native declaration : /usr/include/stdint.h
|
static int |
INTPTR_MIN
native declaration : /usr/include/stdint.h
|
static java.lang.String |
JNA_LIBRARY_NAME |
static int |
PTRDIFF_MAX
native declaration : /usr/include/stdint.h
|
static int |
PTRDIFF_MIN
native declaration : /usr/include/stdint.h
|
static int |
SIG_ATOMIC_MAX
native declaration : /usr/include/stdint.h
|
static int |
SIG_ATOMIC_MIN
native declaration : /usr/include/stdint.h
|
static long |
SIZE_MAX
native declaration : /usr/include/stdint.h
|
static long |
UINT_FAST16_MAX
native declaration : /usr/include/stdint.h
|
static long |
UINT_FAST32_MAX
native declaration : /usr/include/stdint.h
|
static long |
UINT_FAST64_MAX
native declaration : /usr/include/stdint.h
|
static int |
UINT_FAST8_MAX
native declaration : /usr/include/stdint.h
|
static int |
UINT_LEAST16_MAX
native declaration : /usr/include/stdint.h
|
static long |
UINT_LEAST32_MAX
native declaration : /usr/include/stdint.h
|
static long |
UINT_LEAST64_MAX
native declaration : /usr/include/stdint.h
|
static int |
UINT_LEAST8_MAX
native declaration : /usr/include/stdint.h
|
static int |
UINT16_MAX
native declaration : /usr/include/stdint.h
|
static long |
UINT32_MAX
native declaration : /usr/include/stdint.h
|
static long |
UINT64_MAX
native declaration : /usr/include/stdint.h
|
static int |
UINT8_MAX
native declaration : /usr/include/stdint.h
|
static long |
UINTMAX_MAX
native declaration : /usr/include/stdint.h
|
static long |
UINTPTR_MAX
native declaration : /usr/include/stdint.h
|
static long |
WINT_MAX
native declaration : /usr/include/stdint.h
|
static int |
WINT_MIN
native declaration : /usr/include/stdint.h
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
confidential_tx_destroy_bytebuffer(ByteBuffer.ByValue buffer)
NOTE: MUST Release the result buffer manually
Original signature : void confidential_tx_destroy_bytebuffer(ResultBuffer)native declaration : /usr/include/stdint.h:381 |
void |
confidential_tx_destroy_string(java.nio.ByteBuffer ptr)
NOTE: MUST Release the error message manually
Original signature : void confidential_tx_destroy_string(char*)native declaration : /usr/include/stdint.h:384 |
void |
confidential_tx_destroy_string(com.sun.jna.Pointer ptr)
已过时。
use the safer methods
confidential_tx_destroy_string(ByteBuffer) and confidential_tx_destroy_string(Pointer) instead |
ByteBuffer.ByValue |
confidential_tx_verify(byte[] tx_data,
int tx_len,
ExternError error)
Verify the confidential tx.
|
ByteBuffer.ByValue |
confidential_tx_verify(com.sun.jna.Pointer tx_data,
int tx_len,
ExternError error)
已过时。
use the safer methods
confidential_tx_verify(byte[], int, com.platon.crypto.ExternError) and confidential_tx_verify(Pointer, int, com.platon.crypto.ExternError) instead |
ByteBuffer.ByValue |
create_confidential_tx_by_rlp(byte[] tx_json,
int tx_len,
ExternError error)
Create a confidential tx.
|
ByteBuffer.ByValue |
create_confidential_tx_by_rlp(com.sun.jna.Pointer tx_json,
int tx_len,
ExternError error)
已过时。
|
ByteBuffer.ByValue |
create_confidential_tx(byte[] tx_json,
int tx_len,
ExternError error)
Create a confidential tx.
|
ByteBuffer.ByValue |
create_confidential_tx(com.sun.jna.Pointer tx_json,
int tx_len,
ExternError error)
已过时。
use the safer methods
create_confidential_tx(byte[], int, com.platon.crypto.ExternError) and create_confidential_tx(Pointer, int, com.platon.crypto.ExternError) instead |
ByteBuffer.ByValue |
create_keypair(byte[] sk_data,
int sk_len,
ExternError error)
Create a key pair for view key and spend key.
|
ByteBuffer.ByValue |
create_keypair(com.sun.jna.Pointer sk_data,
int sk_len,
ExternError error)
已过时。
use the safer methods
create_keypair(byte[], int, com.platon.crypto.ExternError) and create_keypair(Pointer, int, com.platon.crypto.ExternError) instead |
ByteBuffer.ByValue |
decrypt_note(byte[] cipher_data,
int cipher_len,
byte[] view_sk_data,
int view_sk_len,
ExternError error)
Decrypt the quatity and blinding.
|
ByteBuffer.ByValue |
decrypt_note(com.sun.jna.Pointer cipher_data,
int cipher_len,
com.sun.jna.Pointer view_sk_data,
int view_sk_len,
ExternError error)
已过时。
use the safer methods
decrypt_note(byte[], int, byte[], int, com.platon.crypto.ExternError) and decrypt_note(Pointer, int, Pointer, int, com.platon.crypto.ExternError) instead |
void |
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,
ExternError error)
Is the owner of note.
|
void |
is_note_owner(com.sun.jna.Pointer ephemeral_pk_data,
int ephemeral_pk_len,
com.sun.jna.Pointer sign_pk_data,
int sign_pk_len,
com.sun.jna.Pointer spend_pk_data,
int spend_pk_len,
com.sun.jna.Pointer view_sk_data,
int view_sk_len,
ExternError error)
|
static final java.lang.String JNA_LIBRARY_NAME
static final ConfidentialLibrary INSTANCE
static final int _STDINT_H
static final int INT8_MIN
static final int INT16_MIN
static final int INT32_MIN
static final long INT64_MIN
static final int INT8_MAX
static final int INT16_MAX
static final int INT32_MAX
static final long INT64_MAX
static final int UINT8_MAX
static final int UINT16_MAX
static final long UINT32_MAX
static final long UINT64_MAX
static final int INT_LEAST8_MIN
static final int INT_LEAST16_MIN
static final int INT_LEAST32_MIN
static final long INT_LEAST64_MIN
static final int INT_LEAST8_MAX
static final int INT_LEAST16_MAX
static final int INT_LEAST32_MAX
static final long INT_LEAST64_MAX
static final int UINT_LEAST8_MAX
static final int UINT_LEAST16_MAX
static final long UINT_LEAST32_MAX
static final long UINT_LEAST64_MAX
static final int INT_FAST8_MIN
static final int INT_FAST16_MIN
static final int INT_FAST32_MIN
static final long INT_FAST64_MIN
static final int INT_FAST8_MAX
static final int INT_FAST16_MAX
static final int INT_FAST32_MAX
static final long INT_FAST64_MAX
static final int UINT_FAST8_MAX
static final long UINT_FAST16_MAX
static final long UINT_FAST32_MAX
static final long UINT_FAST64_MAX
static final int INTPTR_MIN
static final int INTPTR_MAX
static final long UINTPTR_MAX
static final long INTMAX_MIN
static final long INTMAX_MAX
static final long UINTMAX_MAX
static final int PTRDIFF_MIN
static final int PTRDIFF_MAX
static final int SIG_ATOMIC_MIN
static final int SIG_ATOMIC_MAX
static final long SIZE_MAX
static final int WINT_MIN
static final long WINT_MAX
@Deprecated ByteBuffer.ByValue create_confidential_tx(com.sun.jna.Pointer tx_json, int tx_len, ExternError error)
create_confidential_tx(byte[], int, com.platon.crypto.ExternError) and create_confidential_tx(Pointer, int, com.platon.crypto.ExternError) insteadResultBuffer create_confidential_tx(const uint8_t*, int32_t, ConfidentialTxError*)ByteBuffer.ByValue create_confidential_tx(byte[] tx_json, int tx_len, ExternError error)
ResultBuffer create_confidential_tx(const uint8_t*, int32_t, ConfidentialTxError*)@Deprecated ByteBuffer.ByValue create_confidential_tx_by_rlp(com.sun.jna.Pointer tx_json, int tx_len, ExternError error)
create_confidential_tx_by_rlp(byte[], int, com.platon.crypto.ExternError) and create_confidential_tx_by_rlp(Pointer, int, com.platon.crypto.ExternError) insteadResultBuffer create_confidential_tx_by_rlp(const uint8_t*, int32_t, ConfidentialTxError*)ByteBuffer.ByValue create_confidential_tx_by_rlp(byte[] tx_json, int tx_len, ExternError error)
ResultBuffer create_confidential_tx_by_rlp(const uint8_t*, int32_t, ConfidentialTxError*)@Deprecated ByteBuffer.ByValue confidential_tx_verify(com.sun.jna.Pointer tx_data, int tx_len, ExternError error)
confidential_tx_verify(byte[], int, com.platon.crypto.ExternError) and confidential_tx_verify(Pointer, int, com.platon.crypto.ExternError) insteadResultBuffer confidential_tx_verify(const uint8_t*, int32_t, ConfidentialTxError*)ByteBuffer.ByValue confidential_tx_verify(byte[] tx_data, int tx_len, ExternError error)
ResultBuffer confidential_tx_verify(const uint8_t*, int32_t, ConfidentialTxError*)@Deprecated ByteBuffer.ByValue create_keypair(com.sun.jna.Pointer sk_data, int sk_len, ExternError error)
create_keypair(byte[], int, com.platon.crypto.ExternError) and create_keypair(Pointer, int, com.platon.crypto.ExternError) insteadResultBuffer create_keypair(const uint8_t*, int32_t, ConfidentialTxError*)ByteBuffer.ByValue create_keypair(byte[] sk_data, int sk_len, ExternError error)
ResultBuffer create_keypair(const uint8_t*, int32_t, ConfidentialTxError*)@Deprecated
void is_note_owner(com.sun.jna.Pointer ephemeral_pk_data,
int ephemeral_pk_len,
com.sun.jna.Pointer sign_pk_data,
int sign_pk_len,
com.sun.jna.Pointer spend_pk_data,
int spend_pk_len,
com.sun.jna.Pointer view_sk_data,
int view_sk_len,
ExternError error)
is_note_owner(byte[], int, byte[], int, byte[], int, byte[], int, com.platon.crypto.ExternError) and is_note_owner(Pointer, int, Pointer, int, Pointer, int, Pointer, int, com.platon.crypto.ExternError) insteadvoid is_note_owner(const uint8_t*, int32_t, const uint8_t*, int32_t, const uint8_t*, int32_t, const uint8_t*, int32_t, ConfidentialTxError*)void 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,
ExternError error)
void is_note_owner(const uint8_t*, int32_t, const uint8_t*, int32_t, const uint8_t*, int32_t, const uint8_t*, int32_t, ConfidentialTxError*)@Deprecated ByteBuffer.ByValue decrypt_note(com.sun.jna.Pointer cipher_data, int cipher_len, com.sun.jna.Pointer view_sk_data, int view_sk_len, ExternError error)
decrypt_note(byte[], int, byte[], int, com.platon.crypto.ExternError) and decrypt_note(Pointer, int, Pointer, int, com.platon.crypto.ExternError) insteadResultBuffer decrypt_note(const uint8_t*, int32_t, const uint8_t*, int32_t, ConfidentialTxError*)ByteBuffer.ByValue decrypt_note(byte[] cipher_data, int cipher_len, byte[] view_sk_data, int view_sk_len, ExternError error)
ResultBuffer decrypt_note(const uint8_t*, int32_t, const uint8_t*, int32_t, ConfidentialTxError*)void confidential_tx_destroy_bytebuffer(ByteBuffer.ByValue buffer)
void confidential_tx_destroy_bytebuffer(ResultBuffer)@Deprecated void confidential_tx_destroy_string(com.sun.jna.Pointer ptr)
confidential_tx_destroy_string(ByteBuffer) and confidential_tx_destroy_string(Pointer) insteadvoid confidential_tx_destroy_string(char*)void confidential_tx_destroy_string(java.nio.ByteBuffer ptr)
void confidential_tx_destroy_string(char*)