A B C D F G H K N O P R S T U V 
All Classes All Packages

A

AbstractKey - Class in com.github.katenachain.crypto
AbstractKey holds a key.
AbstractKey(byte[]) - Constructor for class com.github.katenachain.crypto.AbstractKey
AbstractKey constructor.
ApiException - Exception in com.github.katenachain.exceptions
ApiException allows to wrap API errors.
ApiException(int, String) - Constructor for exception com.github.katenachain.exceptions.ApiException
ApiException constructor.

B

ByteArraySerializer - Class in com.github.katenachain.serializer.adapter
The type Byte array serializer.
ByteArraySerializer() - Constructor for class com.github.katenachain.serializer.adapter.ByteArraySerializer
 

C

CertificateEd25519V1 - Class in com.github.katenachain.entity.certify
CertificateEd25519V1 is the first version of an ed25519 certificate.
CertificateEd25519V1(String, byte[], PublicKey) - Constructor for class com.github.katenachain.entity.certify.CertificateEd25519V1
CertificateEd25519V1 constructor.
CertificateRawV1 - Class in com.github.katenachain.entity.certify
CertificateRawV1 is the first version of a raw certificate.
CertificateRawV1(String, byte[]) - Constructor for class com.github.katenachain.entity.certify.CertificateRawV1
CertificateRawV1 constructor.
Certify - Class in com.github.katenachain.entity.certify
Certify helper.
Certify() - Constructor for class com.github.katenachain.entity.certify.Certify
 
Client - Class in com.github.katenachain.api
Client is a okhttp3.OkHttpClient wrapper to dialog with a JSON API.
Client(String) - Constructor for class com.github.katenachain.api.Client
Client constructor.
ClientException - Exception in com.github.katenachain.exceptions
ClientException allows to wrap transactor errors
ClientException(String) - Constructor for exception com.github.katenachain.exceptions.ClientException
ClientException constructor.
com.github.katenachain - package com.github.katenachain
 
com.github.katenachain.api - package com.github.katenachain.api
 
com.github.katenachain.crypto - package com.github.katenachain.crypto
 
com.github.katenachain.crypto.ED25519 - package com.github.katenachain.crypto.ED25519
 
com.github.katenachain.crypto.Nacl - package com.github.katenachain.crypto.Nacl
 
com.github.katenachain.entity - package com.github.katenachain.entity
 
com.github.katenachain.entity.api - package com.github.katenachain.entity.api
 
com.github.katenachain.entity.certify - package com.github.katenachain.entity.certify
 
com.github.katenachain.exceptions - package com.github.katenachain.exceptions
 
com.github.katenachain.serializer - package com.github.katenachain.serializer
 
com.github.katenachain.serializer.adapter - package com.github.katenachain.serializer.adapter
 
com.github.katenachain.utils - package com.github.katenachain.utils
 
CryptoKeySerializer - Class in com.github.katenachain.serializer.adapter
The type Crypto key serializer.
CryptoKeySerializer() - Constructor for class com.github.katenachain.serializer.adapter.CryptoKeySerializer
 

D

deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.katenachain.serializer.adapter.ByteArraySerializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.katenachain.serializer.adapter.CryptoKeySerializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.katenachain.serializer.adapter.GsonUTCDateAdapter
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.katenachain.serializer.adapter.TxDataSerializer
 
deserialize(String, Class) - Method in class com.github.katenachain.serializer.Serializer
deserializes data into the given type.

F

formatBcid(String, String) - Static method in class com.github.katenachain.entity.certify.Certify
 

G

get(String) - Method in class com.github.katenachain.api.Client
wraps the doRequest method to do a GET HTTP request.
get(String, HashMap<String, String>) - Method in class com.github.katenachain.api.Client
wraps the doRequest method to do a GET HTTP request.
getAvailableTypes() - Static method in class com.github.katenachain.serializer.adapter.TxDataSerializer
Get available certificate type
getBody() - Method in class com.github.katenachain.entity.api.RawResponse
 
getCertificateSubNamespace() - Static method in class com.github.katenachain.entity.certify.Certify
 
getCode() - Method in class com.github.katenachain.entity.api.TxStatus
 
getContent() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
 
getData() - Method in class com.github.katenachain.entity.Tx
 
getId() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
 
getId() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
 
getId() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
 
getId() - Method in interface com.github.katenachain.entity.TxData
 
getKey() - Method in class com.github.katenachain.crypto.AbstractKey
 
getMessage() - Method in class com.github.katenachain.entity.api.TxStatus
 
getMessage() - Method in exception com.github.katenachain.exceptions.ApiException
 
getNamespace() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
 
getNamespace() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
 
getNamespace() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
 
getNamespace() - Method in interface com.github.katenachain.entity.TxData
 
getNamespaceCertify() - Static method in class com.github.katenachain.entity.certify.Certify
 
getNonce() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
 
getNonceTime() - Method in class com.github.katenachain.entity.Tx
 
getPublicKey() - Method in class com.github.katenachain.crypto.ED25519.PrivateKey
 
getPublicKey() - Method in class com.github.katenachain.crypto.Nacl.PrivateKey
 
getSecretSubNamespace() - Static method in class com.github.katenachain.entity.certify.Certify
 
getSender() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
 
getSignature() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
 
getSignature() - Method in class com.github.katenachain.entity.Tx
 
getSigner() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
 
getSigner() - Method in class com.github.katenachain.entity.Tx
 
getStatus() - Method in class com.github.katenachain.entity.api.TxWrapper
 
getStatusCode() - Method in class com.github.katenachain.entity.api.RawResponse
 
getSubNamespace() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
 
getSubNamespace() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
 
getSubNamespace() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
 
getSubNamespace() - Method in interface com.github.katenachain.entity.TxData
 
getTotal() - Method in class com.github.katenachain.entity.api.TxWrappers
 
getTx() - Method in class com.github.katenachain.entity.api.TxWrapper
 
getTx(TxData) - Method in class com.github.katenachain.Transactor
signs a tx data and returns a new tx ready to be sent.
getTxDataState(String, Date, TxData) - Method in class com.github.katenachain.Transactor
returns the sorted and marshaled json representation of a TxData ready to be signed.
getTxs() - Method in class com.github.katenachain.entity.api.TxWrappers
 
getType() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
 
getType() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
 
getType() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
 
getType() - Method in interface com.github.katenachain.entity.TxData
 
getTypeCertificateEd25519V1() - Static method in class com.github.katenachain.entity.certify.Certify
 
getTypeCertificateRawV1() - Static method in class com.github.katenachain.entity.certify.Certify
 
getTypeSecretNaclBoxV1() - Static method in class com.github.katenachain.entity.certify.Certify
 
getUri(String, String[], HashMap<String, String>) - Static method in class com.github.katenachain.utils.Uri
joins the base path and paths array and adds the query values to return a new uri.
getValue() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
 
GsonUTCDateAdapter - Class in com.github.katenachain.serializer.adapter
The type Gson utc date adapter.
GsonUTCDateAdapter() - Constructor for class com.github.katenachain.serializer.adapter.GsonUTCDateAdapter
 

H

Handler - Class in com.github.katenachain.api
Handler provides helper methods to send and retrieve tx without directly interacting with the HTTP Client.
Handler(String, Serializer) - Constructor for class com.github.katenachain.api.Handler
Handler constructor.

K

key - Variable in class com.github.katenachain.crypto.AbstractKey
 

N

NAMESPACE_CERTIFY - Static variable in class com.github.katenachain.entity.certify.Certify
 

O

open(byte[], PublicKey, byte[]) - Method in class com.github.katenachain.crypto.Nacl.PrivateKey
decrypts an encrypted message with the appropriate sender information.

P

post(String, byte[]) - Method in class com.github.katenachain.api.Client
wraps the doRequest method to do a POST HTTP request.
post(String, byte[], HashMap<String, String>) - Method in class com.github.katenachain.api.Client
wraps the doRequest method to do a POST HTTP request.
PrivateKey - Class in com.github.katenachain.crypto.ED25519
PrivateKey is an Ed25519 private key wrapper (64 bytes).
PrivateKey - Class in com.github.katenachain.crypto.Nacl
PrivateKey is an X25519 private key wrapper (64 bytes).
PrivateKey(byte[]) - Constructor for class com.github.katenachain.crypto.ED25519.PrivateKey
PrivateKey constructor with byte[].
PrivateKey(byte[]) - Constructor for class com.github.katenachain.crypto.Nacl.PrivateKey
PrivateKey constructor with byte[].
PrivateKey(String) - Constructor for class com.github.katenachain.crypto.ED25519.PrivateKey
PrivateKey constructor with base64 String.
PrivateKey(String) - Constructor for class com.github.katenachain.crypto.Nacl.PrivateKey
PrivateKey constructor with base64 String.
PublicKey - Class in com.github.katenachain.crypto.ED25519
PublicKey is an Ed25519 public key wrapper (32 bytes).
PublicKey - Class in com.github.katenachain.crypto.Nacl
PublicKey is an X25519 public key wrapper (32 bytes).
PublicKey(byte[]) - Constructor for class com.github.katenachain.crypto.ED25519.PublicKey
PublicKey constructor with byte[].
PublicKey(byte[]) - Constructor for class com.github.katenachain.crypto.Nacl.PublicKey
PublicKey constructor with byte[].
PublicKey(String) - Constructor for class com.github.katenachain.crypto.Nacl.PublicKey
PublicKey constructor with base64 String.

R

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.
retrieveCertificate(String) - Method in class com.github.katenachain.api.Handler
fetches the API and returns a tx wrapper.
retrieveCertificate(String, String) - Method in class com.github.katenachain.Transactor
fetches the API to find the corresponding tx and return a tx wrapper.
retrieveCertificatesHistory(String) - Method in class com.github.katenachain.api.Handler
fetches the API and returns a tx wrappers.
retrieveCertificatesHistory(String, String) - Method in class com.github.katenachain.Transactor
fetches the API to find the corresponding txs and returns tx wrappers or an error.
retrieveSecrets(String) - Method in class com.github.katenachain.api.Handler
fetches the API and returns a tx wrapper list.
retrieveSecrets(String, String) - Method in class com.github.katenachain.Transactor
fetches the API to find the corresponding txs and returns tx wrappers.

S

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.
sendCertificate(Tx) - Method in class com.github.katenachain.api.Handler
accepts a tx and sends it to the appropriate certificate API route.
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.
sendSecret(Tx) - Method in class com.github.katenachain.api.Handler
accepts a tx and sends it to the appropriate API route.
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(String, Tx) - Method in class com.github.katenachain.api.Handler
tries to send a tx to the API and returns a tx status or throws an api error.
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(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.
serialize(Date, Type, JsonSerializationContext) - Method in class com.github.katenachain.serializer.adapter.GsonUTCDateAdapter
 
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.

T

Transactor - Class in com.github.katenachain
Transactor provides helper methods to hide the complexity of Tx creation, signature and API dialog.
Transactor(String) - Constructor for class com.github.katenachain.Transactor
Transactor constructor.
Transactor(String, String, String, PrivateKey) - Constructor for class com.github.katenachain.Transactor
Transactor constructor.
Tx - Class in com.github.katenachain.entity
Tx wraps a tx data with its signature information and a nonce time to avoid replay attacks.
Tx(TxData, Date, byte[], PublicKey) - Constructor for class com.github.katenachain.entity.Tx
Tx constructor.
TxData - Interface in com.github.katenachain.entity
TxData interface defines the methods a concrete TxData must implement.
TxDataSerializer - Class in com.github.katenachain.serializer.adapter
The type Tx data serializer.
TxDataSerializer() - Constructor for class com.github.katenachain.serializer.adapter.TxDataSerializer
 
TxDataState - Class in com.github.katenachain.entity
TxDataState wraps a TxData and additional values in order to define the unique state to be signed.
TxDataState(String, Date, TxData) - Constructor for class com.github.katenachain.entity.TxDataState
TxDataState constructor.
TxStatus - Class in com.github.katenachain.entity.api
TxStatus is a tx blockchain status.
TxStatus() - Constructor for class com.github.katenachain.entity.api.TxStatus
 
TxWrapper - Class in com.github.katenachain.entity.api
TxWrapper wraps a tx and its status.
TxWrapper() - Constructor for class com.github.katenachain.entity.api.TxWrapper
 
TxWrappers - Class in com.github.katenachain.entity.api
TxWrappers wraps a list of TxWrapper with the total txs available.
TxWrappers() - Constructor for class com.github.katenachain.entity.api.TxWrappers
 
TYPE_CERTIFICATE - Static variable in class com.github.katenachain.entity.certify.Certify
 
TYPE_ED25519 - Static variable in class com.github.katenachain.entity.certify.Certify
 
TYPE_NACL_BOX - Static variable in class com.github.katenachain.entity.certify.Certify
 
TYPE_RAW - Static variable in class com.github.katenachain.entity.certify.Certify
 
TYPE_SECRET - Static variable in class com.github.katenachain.entity.certify.Certify
 

U

Uri - Class in com.github.katenachain.utils
 
Uri() - Constructor for class com.github.katenachain.utils.Uri
 

V

verify(byte[], byte[]) - Method in class com.github.katenachain.crypto.ED25519.PublicKey
indicates if a message and a signature match.
A B C D F G H K N O P R S T U V 
All Classes All Packages