| Package | Description |
|---|---|
| com.github.katenachain | |
| com.github.katenachain.api |
| Modifier and Type | Method and Description |
|---|---|
TxWrappers |
Transactor.retrieveCertificates(String companyBcid,
String uuid,
int page,
int txPerPage)
fetches the API to find the corresponding txs and returns tx wrappers or an error.
|
KeyV1[] |
Transactor.retrieveCompanyKeys(String companyBcid,
int page,
int txPerPage)
fetches the API and returns the list of keyV1 for a company or an error.
|
TxWrappers |
Transactor.retrieveKeyCreateTxs(String companyBcid,
String uuid,
int page,
int txPerPage)
fetches the API to find the corresponding txs and returns tx wrappers or an error.
|
TxWrappers |
Transactor.retrieveKeyRevokeTxs(String companyBcid,
String uuid,
int page,
int txPerPage)
fetches the API to find the corresponding txs and returns tx wrappers or an error.
|
TxWrapper |
Transactor.retrieveLastCertificate(String companyBcid,
String uuid)
fetches the API to find the corresponding tx and return a tx wrapper.
|
TxWrappers |
Transactor.retrieveSecrets(String companyBcid,
String uuid,
int page,
int txPerPage)
fetches the API to find the corresponding txs and returns tx wrappers.
|
TxWrappers |
Transactor.retrieveTxs(String txCategory,
String companyBcid,
String uuid,
int page,
int txPerPage)
fetches the API to find the corresponding txs and returns tx wrappers or an error.
|
TxStatus |
Transactor.sendCertificateEd25519V1(String uuid,
PublicKey signer,
byte[] signature)
creates a CertificateEd25519 (V1), wraps in a tx and sends it to the API.
|
TxStatus |
Transactor.sendCertificateRawV1(String uuid,
byte[] value)
creates a CertificateRaw (V1), wraps in a tx and sends it to the API.
|
TxStatus |
Transactor.sendKeyCreateV1(String uuid,
PublicKey publicKey,
String role)
creates a KeyCreate (V1) and sends it to the API.
|
TxStatus |
Transactor.sendKeyRevokeV1(String uuid,
PublicKey publicKey)
creates a KeyRevoke (V1) and sends it to the API.
|
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.
|
TxStatus |
Transactor.sendTx(TxData txData)
signs and sends a tx to the Api.
|
| Modifier and Type | Method and Description |
|---|---|
TxWrappers |
Handler.retrieveCertificates(String id,
int page,
int txPerPage)
fetches the API and returns a tx wrappers or throws an error.
|
KeyV1[] |
Handler.retrieveCompanyKeys(String companyBcid,
int page,
int txPerPage)
fetches the API and returns the list of keyV1 for a company or throws an error.
|
TxWrapper |
Handler.retrieveLastCertificate(String id)
fetches the API and returns a tx wrapper or throws an error.
|
TxWrappers |
Handler.retrieveSecrets(String id,
int page,
int txPerPage)
fetches the API and returns a tx wrappers or throws an error.
|
TxWrappers |
Handler.retrieveTxs(String txCategory,
String id,
int page,
int txPerPage)
fetches the API and returns a tx wrappers or throws an error.
|
TxStatus |
Handler.sendTx(Tx tx)
accepts a tx and sends it to the Api to return a tx status or throws an error.
|
Copyright © 2020 Transchain. All rights reserved.