SR25519_CHAINCODE_SIZE, SR25519_KEYPAIR_SIZE, SR25519_PUBLIC_SIZE, SR25519_SECRET_SIZE, SR25519_SEED_SIZE, SR25519_SIGNATURE_SIZE| Constructor and Description |
|---|
JniSR25591() |
| Modifier and Type | Method and Description |
|---|---|
void |
sr25519_derive_keypair_hard(byte[] keypair_out,
byte[] pair_ptr,
byte[] cc_ptr) |
void |
sr25519_derive_keypair_soft(byte[] keypair_out,
byte[] pair_ptr,
byte[] cc_ptr) |
void |
sr25519_derive_public_soft(byte[] keypair_out,
byte[] pair_ptr,
byte[] cc_ptr) |
void |
sr25519_keypair_from_seed(byte[] keypair_out,
byte[] seed_ptr) |
void |
sr25519_sign(byte[] signature_out,
byte[] public_ptr,
byte[] secret_ptr,
byte[] message_ptr,
int message_length) |
boolean |
sr25519_verify(byte[] signature_ptr,
byte[] message_ptr,
int message_length,
byte[] public_ptr) |
public void sr25519_derive_keypair_hard(byte[] keypair_out,
byte[] pair_ptr,
byte[] cc_ptr)
sr25519_derive_keypair_hard in interface ISR25591public void sr25519_derive_keypair_soft(byte[] keypair_out,
byte[] pair_ptr,
byte[] cc_ptr)
sr25519_derive_keypair_soft in interface ISR25591public void sr25519_derive_public_soft(byte[] keypair_out,
byte[] pair_ptr,
byte[] cc_ptr)
sr25519_derive_public_soft in interface ISR25591public void sr25519_keypair_from_seed(byte[] keypair_out,
byte[] seed_ptr)
sr25519_keypair_from_seed in interface ISR25591public void sr25519_sign(byte[] signature_out,
byte[] public_ptr,
byte[] secret_ptr,
byte[] message_ptr,
int message_length)
sr25519_sign in interface ISR25591public boolean sr25519_verify(byte[] signature_ptr,
byte[] message_ptr,
int message_length,
byte[] public_ptr)
sr25519_verify in interface ISR25591