Skip navigation links
A B C D F G H I K N O P R S T V 

A

AbstractKey - Class in com.github.katenachain.crypto
AbstractKey holds a key.
AbstractKey(byte[]) - Constructor for class com.github.katenachain.crypto.AbstractKey
AbstractKey constructor.
Account - Class in com.github.katenachain.entity.account
Certify helper.
Account() - Constructor for class com.github.katenachain.entity.account.Account
 
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.account - package com.github.katenachain.entity.account
 
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
 
Common - Class in com.github.katenachain.utils
 
Common() - Constructor for class com.github.katenachain.utils.Common
 
COMPANY_ADMIN_ROLE_ID - Static variable in class com.github.katenachain.entity.account.Account
 
CryptoKeySerializer - Class in com.github.katenachain.serializer.adapter
The type Crypto key serializer.
CryptoKeySerializer() - Constructor for class com.github.katenachain.serializer.adapter.CryptoKeySerializer
 

D

DEFAULT_PER_PAGE_PARAM - Static variable in class com.github.katenachain.utils.Common
 
DEFAULT_ROLE_ID - Static variable in class com.github.katenachain.entity.account.Account
 
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

formatTxid(String, String) - Static method in class com.github.katenachain.utils.Common
concatenates a company bcid and a uuid into a txid.

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
 
getCategoryCertificate() - Static method in class com.github.katenachain.entity.certify.Certify
 
getCategoryKeyCreate() - Static method in class com.github.katenachain.entity.account.Account
 
getCategoryKeyRevoke() - Static method in class com.github.katenachain.entity.account.Account
 
getCategorySecret() - Static method in class com.github.katenachain.entity.certify.Certify
 
getCode() - Method in class com.github.katenachain.entity.api.TxStatus
 
getCompanyBcid() - Method in class com.github.katenachain.entity.account.KeyV1
 
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.account.KeyCreateV1
 
getId() - Method in class com.github.katenachain.entity.account.KeyRevokeV1
 
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
 
getNonce() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
 
getNonceTime() - Method in class com.github.katenachain.entity.Tx
 
getPaginationQueryParams(int, int) - Static method in class com.github.katenachain.utils.Common
returns the query params array to request a pagination.
getPublicKey() - Method in class com.github.katenachain.crypto.ED25519.PrivateKey
 
getPublicKey() - Method in class com.github.katenachain.crypto.Nacl.PrivateKey
 
getPublicKey() - Method in class com.github.katenachain.entity.account.KeyCreateV1
 
getPublicKey() - Method in class com.github.katenachain.entity.account.KeyRevokeV1
 
getPublicKey() - Method in class com.github.katenachain.entity.account.KeyV1
 
getRole() - Method in class com.github.katenachain.entity.account.KeyCreateV1
 
getRole() - Method in class com.github.katenachain.entity.account.KeyV1
 
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
 
getTotal() - Method in class com.github.katenachain.entity.api.TxWrappers
 
getTx() - Method in class com.github.katenachain.entity.api.TxWrapper
 
getTxDataState(String, Date, TxData) - Method in class com.github.katenachain.api.Handler
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.account.KeyCreateV1
 
getType() - Method in class com.github.katenachain.entity.account.KeyRevokeV1
 
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
 
getTypeKeyCreateV1() - Static method in class com.github.katenachain.entity.account.Account
 
getTypeKeyRevokeV1() - Static method in class com.github.katenachain.entity.account.Account
 
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.Common
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.

I

isActive() - Method in class com.github.katenachain.entity.account.KeyV1
 

K

key - Variable in class com.github.katenachain.crypto.AbstractKey
 
KeyCreateV1 - Class in com.github.katenachain.entity.account
KeyCreateV1 is the first version of a key create message.
KeyCreateV1(String, PublicKey, String) - Constructor for class com.github.katenachain.entity.account.KeyCreateV1
KeyCreateV1 constructor.
KeyRevokeV1 - Class in com.github.katenachain.entity.account
KeyRevokeV1 is the first version of a key revoke message.
KeyRevokeV1(String, PublicKey) - Constructor for class com.github.katenachain.entity.account.KeyRevokeV1
KeyCreateV1 constructor.
KeyV1 - Class in com.github.katenachain.entity.account
KeyV1 is the first version of a key.

N

NAMESPACE - Static variable in class com.github.katenachain.entity.account.Account
 
NAMESPACE - 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(byte[]) - Constructor for class com.github.katenachain.crypto.ED25519.PrivateKey
PrivateKey constructor with byte[].
PrivateKey(String) - Constructor for class com.github.katenachain.crypto.ED25519.PrivateKey
PrivateKey constructor with base64 String.
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.Nacl.PrivateKey
PrivateKey constructor with byte[].
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(byte[]) - Constructor for class com.github.katenachain.crypto.ED25519.PublicKey
PublicKey constructor with byte[].
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.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.
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.

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.
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.

T

Transactor - Class in com.github.katenachain
Transactor provides helper methods to hide the complexity of Tx creation, signature and API dialog.
Transactor(String, String, String, PrivateKey) - Constructor for class com.github.katenachain.Transactor
Transactor constructor.
Transactor(String) - 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_CREATE - Static variable in class com.github.katenachain.entity.account.Account
 
TYPE_ED25519 - Static variable in class com.github.katenachain.entity.certify.Certify
 
TYPE_KEY - Static variable in class com.github.katenachain.entity.account.Account
 
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_REVOKE - Static variable in class com.github.katenachain.entity.account.Account
 
TYPE_SECRET - Static variable in class com.github.katenachain.entity.certify.Certify
 

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 I K N O P R S T V 
Skip navigation links

Copyright © 2020 Transchain. All rights reserved.