A B C D F G H K N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractKey - Class in com.github.katenachain.crypto
-
AbstractKey holds a string key.
- AbstractKey(byte[]) - Constructor for class com.github.katenachain.crypto.AbstractKey
-
AbstractKey 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
- Certifiable - Interface in com.github.katenachain.entity.certify
-
Certifiable contains common methods for tx data instances.
- CertificateEd25519V1 - Class in com.github.katenachain.entity.certify
-
CertificateEd25519V1 is the first version of an ed25519 certificate.
- CertificateEd25519V1() - Constructor for class com.github.katenachain.entity.certify.CertificateEd25519V1
- CertificateRawV1 - Class in com.github.katenachain.entity.certify
-
CertificateRawV1 is the first version of a raw certificate.
- CertificateRawV1() - Constructor for class com.github.katenachain.entity.certify.CertificateRawV1
- Certify - Interface in com.github.katenachain.entity.certify
-
The interface Certify.
- Client - Class in com.github.katenachain.api
-
Client is a wrapper to dialog with a JSON API.
- Client(String) - Constructor for class com.github.katenachain.api.Client
-
Client 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.serializer - package com.github.katenachain.serializer
- com.github.katenachain.serializer.adapter - package com.github.katenachain.serializer.adapter
- 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
-
ByteArray deserialize
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.katenachain.serializer.adapter.CryptoKeySerializer
-
CryptoKey deserialize
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.katenachain.serializer.adapter.GsonUTCDateAdapter
-
GsonUTCDateAdapter deserialize
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.katenachain.serializer.adapter.TxDataSerializer
-
TxData deserialize
- deserialize(String, Class) - Method in class com.github.katenachain.serializer.Serializer
-
deserializes data into the given type.
F
- formatBcid(String, String) - Method in class com.github.katenachain.Transactor
-
concatenates a company chain id and a uuid into a bcid.
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
-
Body Getter
- getCertificateSubNamespace() - Static method in interface com.github.katenachain.entity.certify.Certifiable
-
Gets certificate sub namespace.
- getChainId() - Method in class com.github.katenachain.entity.TxDataState
-
ChainId Getter
- getCode() - Method in class com.github.katenachain.api.RawResponse
-
Code Getter
- getCode() - Method in class com.github.katenachain.entity.api.TxStatus
-
Code Getter
- getContent() - Method in class com.github.katenachain.api.RawResponse
-
Content Getter
- getContent() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Content Getter
- getData() - Method in class com.github.katenachain.entity.Tx
-
Data Getter
- getId() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
-
Id Getter
- getId() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
-
Id Getter
- getId() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Id Getter
- getId() - Method in interface com.github.katenachain.entity.TxData
-
Id Getter
- getKey() - Method in class com.github.katenachain.crypto.AbstractKey
-
Key Getter
- getMessage() - Method in class com.github.katenachain.entity.api.TxStatus
-
Message Getter
- getNamespace() - Static method in interface com.github.katenachain.entity.certify.Certifiable
-
Gets namespace.
- getNamespace() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
-
Namespace Getter
- getNamespace() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
-
Namespace Getter
- getNamespace() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Namespace Getter
- getNamespace() - Method in interface com.github.katenachain.entity.TxData
-
Namespace Getter
- getNamespaceCertify() - Static method in interface com.github.katenachain.entity.certify.Certifiable
-
Gets namespace certify.
- getNonce() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Nonce Getter
- getNonceTime() - Method in class com.github.katenachain.entity.Tx
-
NonceTime Getter
- getNonceTime() - Method in class com.github.katenachain.entity.TxDataState
-
NonceTime Getter
- getPublicKey() - Method in class com.github.katenachain.crypto.ED25519.PrivateKey
-
PublicKey Getter
- getPublicKey() - Method in class com.github.katenachain.crypto.Nacl.PrivateKey
-
PublicKey getter
- getSecretSubNamespace() - Static method in interface com.github.katenachain.entity.certify.Certifiable
-
Gets secret sub namespace.
- getSender() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Sender Getter
- getSignature() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
-
Signature Getter
- getSignature() - Method in class com.github.katenachain.entity.Tx
-
Signature Getter
- getSigner() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
-
Signer Getter
- getSigner() - Method in class com.github.katenachain.entity.Tx
-
Signer Getter
- getStatus() - Method in class com.github.katenachain.entity.api.TxWrapper
-
Status Getter
- getStatusCode() - Method in class com.github.katenachain.entity.api.RawResponse
-
StatusCode Getter
- getSubNamespace() - Static method in interface com.github.katenachain.entity.certify.Certifiable
-
Gets sub namespace.
- getSubNamespace() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
-
SubNamespace Getter
- getSubNamespace() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
-
SubNamespace Getter
- getSubNamespace() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
SubNamespace Getter
- getSubNamespace() - Method in interface com.github.katenachain.entity.TxData
-
SubNamespace Getter
- getTotal() - Method in class com.github.katenachain.entity.api.TxWrappers
-
Total Getter
- getTx() - Method in class com.github.katenachain.entity.api.TxWrapper
-
Tx Getter
- getTx(TxData) - Method in class com.github.katenachain.Transactor
-
signs a tx data and returns a new tx ready to be sent.
- getTxData() - Method in class com.github.katenachain.entity.TxDataState
-
TxData Getter
- 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
-
Txs Getter
- getType() - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
-
Type Getter
- getType() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
-
Type Getter
- getType() - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Type Getter
- getType() - Method in interface com.github.katenachain.entity.TxData
-
Type Getter
- getTypeCertificateEd25519V1() - Static method in interface com.github.katenachain.entity.certify.Certifiable
-
Gets type certificate ed 25519 v 1.
- getTypeCertificateRawV1() - Static method in interface com.github.katenachain.entity.certify.Certifiable
-
Gets type certificate raw v 1.
- getTypeSecretNaclBoxV1() - Static method in interface com.github.katenachain.entity.certify.Certifiable
-
Gets type secret nacl box v 1.
- getValue() - Method in class com.github.katenachain.entity.certify.CertificateRawV1
-
Value Getter
- GsonUTCDateAdapter - Class in com.github.katenachain.serializer.adapter
-
The type Gson utc date adapter.
- GsonUTCDateAdapter() - Constructor for class com.github.katenachain.serializer.adapter.GsonUTCDateAdapter
-
GsonUTCDateAdapter Constructor
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
-
The Key.
N
- NAMESPACE_CERTIFY - Static variable in interface com.github.katenachain.entity.certify.Certify
-
The constant NAMESPACE_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, String) - Method in class com.github.katenachain.api.Client
-
wraps the doRequest method to do a POST HTTP request.
- post(String, String, 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 String.
- PrivateKey(String) - Constructor for class com.github.katenachain.crypto.Nacl.PrivateKey
-
PrivateKey constructor with 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
-
The type Public key.
- 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 String
R
- RawResponse - Class in com.github.katenachain.api
-
The type Raw response.
- RawResponse - Class in com.github.katenachain.entity.api
-
RawResponse is a ResponseInterface wrapper.
- RawResponse(int, String) - Constructor for class com.github.katenachain.api.RawResponse
-
RawResponse Constructor
- RawResponse(int, String) - 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() - Constructor for class com.github.katenachain.entity.certify.SecretNaclBoxV1
- 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
-
ByteArray serialize
- serialize(AbstractKey, Type, JsonSerializationContext) - Method in class com.github.katenachain.serializer.adapter.CryptoKeySerializer
-
CryptoKey serialize
- serialize(TxData, Type, JsonSerializationContext) - Method in class com.github.katenachain.serializer.adapter.TxDataSerializer
-
TxData serialize
- 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
-
GsonUTCDateAdapter serialize
- Serializer - Class in com.github.katenachain.serializer
-
The type Serializer.
- Serializer() - Constructor for class com.github.katenachain.serializer.Serializer
-
Serializer Constructor
- setCode(int) - Method in class com.github.katenachain.entity.api.TxStatus
-
Code Setter
- setContent(byte[]) - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Content Setter
- setData(TxData) - Method in class com.github.katenachain.entity.Tx
-
Data Setter
- setId(String) - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
-
Id Setter
- setId(String) - Method in class com.github.katenachain.entity.certify.CertificateRawV1
-
Id Setter
- setId(String) - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Id Setter
- setMessage(String) - Method in class com.github.katenachain.entity.api.TxStatus
-
Message Setter
- setNonce(byte[]) - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Nonce Setter
- setNonceTime(Date) - Method in class com.github.katenachain.entity.Tx
-
NonceTime Setter
- setSender(PublicKey) - Method in class com.github.katenachain.entity.certify.SecretNaclBoxV1
-
Sender Setter
- setSignature(byte[]) - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
-
Signature Setter
- setSignature(byte[]) - Method in class com.github.katenachain.entity.Tx
-
Signature Setter
- setSigner(PublicKey) - Method in class com.github.katenachain.entity.certify.CertificateEd25519V1
-
Signer Setter
- setSigner(PublicKey) - Method in class com.github.katenachain.entity.Tx
-
Signer Setter
- setStatus(TxStatus) - Method in class com.github.katenachain.entity.api.TxWrapper
-
Status Setter
- setTotal(int) - Method in class com.github.katenachain.entity.api.TxWrappers
-
Total Setter
- setTx(Tx) - Method in class com.github.katenachain.entity.api.TxWrapper
-
Tx Setter
- setTxs(TxWrapper[]) - Method in class com.github.katenachain.entity.api.TxWrappers
-
Txs Setter
- setValue(byte[]) - Method in class com.github.katenachain.entity.certify.CertificateRawV1
-
Value Setter
- 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() - Constructor for class com.github.katenachain.entity.Tx
- 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
-
The type Tx data state.
- 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 interface com.github.katenachain.entity.certify.Certify
-
The constant TYPE_CERTIFICATE.
- TYPE_ED25519 - Static variable in interface com.github.katenachain.entity.certify.Certify
-
The constant TYPE_ED25519.
- TYPE_NACL_BOX - Static variable in interface com.github.katenachain.entity.certify.Certify
-
The constant TYPE_NACL_BOX.
- TYPE_RAW - Static variable in interface com.github.katenachain.entity.certify.Certify
-
The constant TYPE_RAW.
- TYPE_SECRET - Static variable in interface com.github.katenachain.entity.certify.Certify
-
The constant TYPE_SECRET.
V
- verify(byte[], byte[]) - Method in class com.github.katenachain.crypto.ED25519.PublicKey
-
indicates if a message and a signature match.
All Classes All Packages