| Package | Description |
|---|---|
| com.github.katenachain | |
| com.github.katenachain.crypto.Nacl | |
| com.github.katenachain.entity.certify |
| Modifier and Type | Method and Description |
|---|---|
TxStatus |
Transactor.sendSecretNaclBoxV1(String uuid,
PublicKey sender,
byte[] nonce,
byte[] content)
creates a SecretNaclBox (V1), wraps in a tx and sends it to the API.
|
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
PrivateKey.getPublicKey() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
PrivateKey.open(byte[] encryptedMessage,
PublicKey senderPublicKey,
byte[] nonce)
decrypts an encrypted message with the appropriate sender information.
|
Hashtable<String,byte[]> |
PrivateKey.seal(byte[] message,
PublicKey recipientPublicKey)
encrypts a plain text message decipherable afterwards by the recipient private key.
|
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
SecretNaclBoxV1.getSender() |
| Constructor and Description |
|---|
SecretNaclBoxV1(byte[] content,
String id,
byte[] nonce,
PublicKey sender)
SecretNaclBoxV1 constructor.
|
Copyright © 2020 Transchain. All rights reserved.