- RawResponse - Class in com.github.katenachain.entity.api
-
RawResponse is a okhttp3.Response wrapper.
- RawResponse(int, byte[]) - Constructor for class com.github.katenachain.entity.api.RawResponse
-
RawResponse constructor.
- retrieveCertificates(String, int, int) - Method in class com.github.katenachain.api.Handler
-
fetches the API and returns a tx wrappers or throws an error.
- retrieveCertificates(String, String, int, int) - Method in class com.github.katenachain.Transactor
-
fetches the API to find the corresponding txs and returns tx wrappers or an error.
- retrieveCompanyKeys(String, int, int) - Method in class com.github.katenachain.api.Handler
-
fetches the API and returns the list of keyV1 for a company or throws an error.
- retrieveCompanyKeys(String, int, int) - Method in class com.github.katenachain.Transactor
-
fetches the API and returns the list of keyV1 for a company or an error.
- retrieveKeyCreateTxs(String, String, int, int) - Method in class com.github.katenachain.Transactor
-
fetches the API to find the corresponding txs and returns tx wrappers or an error.
- retrieveKeyRevokeTxs(String, String, int, int) - Method in class com.github.katenachain.Transactor
-
fetches the API to find the corresponding txs and returns tx wrappers or an error.
- retrieveLastCertificate(String) - Method in class com.github.katenachain.api.Handler
-
fetches the API and returns a tx wrapper or throws an error.
- retrieveLastCertificate(String, String) - Method in class com.github.katenachain.Transactor
-
fetches the API to find the corresponding tx and return a tx wrapper.
- retrieveSecrets(String, int, int) - Method in class com.github.katenachain.api.Handler
-
fetches the API and returns a tx wrappers or throws an error.
- retrieveSecrets(String, String, int, int) - Method in class com.github.katenachain.Transactor
-
fetches the API to find the corresponding txs and returns tx wrappers.
- retrieveTxs(String, String, int, int) - Method in class com.github.katenachain.api.Handler
-
fetches the API and returns a tx wrappers or throws an error.
- retrieveTxs(String, String, String, int, int) - Method in class com.github.katenachain.Transactor
-
fetches the API to find the corresponding txs and returns tx wrappers or an error.
- seal(byte[], PublicKey) - Method in class com.github.katenachain.crypto.Nacl.PrivateKey
-
encrypts a plain text message decipherable afterwards by the recipient private key.
- SecretNaclBoxV1 - Class in com.github.katenachain.entity.certify
-
SecretNaclBoxV1 is the first version of a nacl box secret.
- SecretNaclBoxV1(byte[], String, byte[], PublicKey) - Constructor for class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
SecretNaclBoxV1 constructor.
- sendCertificateEd25519V1(String, PublicKey, byte[]) - Method in class com.github.katenachain.Transactor
-
creates a CertificateEd25519 (V1), wraps in a tx and sends it to the API.
- sendCertificateRawV1(String, byte[]) - Method in class com.github.katenachain.Transactor
-
creates a CertificateRaw (V1), wraps in a tx and sends it to the API.
- sendKeyCreateV1(String, PublicKey, String) - Method in class com.github.katenachain.Transactor
-
creates a KeyCreate (V1) and sends it to the API.
- sendKeyRevokeV1(String, PublicKey) - Method in class com.github.katenachain.Transactor
-
creates a KeyRevoke (V1) and sends it to the API.
- sendSecretNaclBoxV1(String, PublicKey, byte[], byte[]) - Method in class com.github.katenachain.Transactor
-
creates a SecretNaclBox (V1), wraps in a tx and sends it to the API.
- sendTx(Tx) - Method in class com.github.katenachain.api.Handler
-
accepts a tx and sends it to the Api to return a tx status or throws an error.
- sendTx(TxData) - Method in class com.github.katenachain.Transactor
-
signs and sends a tx to the Api.
- serialize(byte[], Type, JsonSerializationContext) - Method in class com.github.katenachain.serializer.adapter.ByteArraySerializer
-
- serialize(AbstractKey, Type, JsonSerializationContext) - Method in class com.github.katenachain.serializer.adapter.CryptoKeySerializer
-
- serialize(Date, Type, JsonSerializationContext) - Method in class com.github.katenachain.serializer.adapter.GsonUTCDateAdapter
-
- serialize(TxData, Type, JsonSerializationContext) - Method in class com.github.katenachain.serializer.adapter.TxDataSerializer
-
- serialize(Object) - Method in class com.github.katenachain.serializer.Serializer
-
serializes data in the appropriate format.
- Serializer - Class in com.github.katenachain.serializer
-
- Serializer() - Constructor for class com.github.katenachain.serializer.Serializer
-
Serializer Constructor
- sign(byte[]) - Method in class com.github.katenachain.crypto.ED25519.PrivateKey
-
accepts a message and returns its corresponding Ed25519 signature.
- signTx(PrivateKey, String, Date, TxData) - Method in class com.github.katenachain.api.Handler
-
signs a tx data and returns a new tx ready to be sent.