A B C D E F G H I J K L M N P S T U V W 
All Classes All Packages

A

AbstractKey - Class in com.exonum.binding.common.crypto
Represent either a private or public key in a digital signature system.
accept(ListProofVisitor) - Method in class com.exonum.binding.common.proofs.list.ListProofBranch
 
accept(ListProofVisitor) - Method in class com.exonum.binding.common.proofs.list.ListProofElement
 
accept(ListProofVisitor) - Method in class com.exonum.binding.common.proofs.list.ListProofHashNode
 
accept(ListProofVisitor) - Method in interface com.exonum.binding.common.proofs.list.ListProofNode
Applies the visitor to this proof node.
actualFrom() - Method in class com.exonum.binding.common.configuration.StoredConfiguration
The height, starting from which this configuration becomes actual.
actualFrom(long) - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
 
asBytes() - Method in class com.exonum.binding.common.hash.HashCode
Returns the value of this hash code as a byte array.
asInt() - Method in class com.exonum.binding.common.hash.HashCode
Returns the first four bytes of this hashcode's bytes, converted to an int value in little-endian order.
asLong() - Method in class com.exonum.binding.common.hash.HashCode
Returns the first eight bytes of this hashcode's bytes, converted to a long value in little-endian order.
asOutputStream(PrimitiveSink) - Static method in class com.exonum.binding.common.hash.Funnels
Wraps a PrimitiveSink as an OutputStream, so it is easy to funnel an object to a PrimitiveSink if there is already a way to write the contents of the object to an OutputStream.
AUTHOR_PUBLIC_KEY_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
 
AUTHOR_PUBLIC_KEY_SIZE - Static variable in interface com.exonum.binding.common.message.TransactionMessage
 

B

bits() - Method in class com.exonum.binding.common.hash.HashCode
Returns the number of bits in this hash code; a positive multiple of 8.
bits() - Method in interface com.exonum.binding.common.hash.HashFunction
Returns the number of bits (a multiple of 32) that each hash code produced by this hash function has.
bool() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of booleans.
BRANCH - com.exonum.binding.common.proofs.map.DbKey.Type
 
build() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 
build() - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
 
build() - Method in class com.exonum.binding.common.configuration.ValidatorKey.Builder
 
builder() - Static method in class com.exonum.binding.common.configuration.ConsensusConfiguration
 
builder() - Static method in class com.exonum.binding.common.configuration.StoredConfiguration
 
builder() - Static method in class com.exonum.binding.common.configuration.ValidatorKey
 
builder() - Static method in interface com.exonum.binding.common.message.TransactionMessage
Creates a new builder for the transaction message.
builder() - Static method in class com.exonum.binding.common.serialization.json.JsonSerializer
Returns preconfigured Gson builder instance.
Builder() - Constructor for class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 
Builder() - Constructor for class com.exonum.binding.common.configuration.StoredConfiguration.Builder
 
Builder() - Constructor for class com.exonum.binding.common.configuration.ValidatorKey.Builder
 
byteArrayFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
Returns a funnel that extracts the bytes from a byte array.
bytes() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of byte arrays, which passes them as is.

C

check() - Method in interface com.exonum.binding.common.proofs.list.UncheckedListProof
Checks that a proof has either correct or incorrect structure and returns a CheckedListProof.
check() - Method in class com.exonum.binding.common.proofs.list.UncheckedListProofAdapter
 
check() - Method in class com.exonum.binding.common.proofs.map.UncheckedFlatMapProof
 
check() - Method in interface com.exonum.binding.common.proofs.map.UncheckedMapProof
Checks that a proof has either correct or incorrect structure and returns a CheckedMapProof.
CheckedFlatMapProof - Class in com.exonum.binding.common.proofs.map
A checked flat map proof, which does not include any intermediate nodes.
CheckedListProof<E> - Interface in com.exonum.binding.common.proofs.list
A proof that some elements exist in a proof list.
CheckedListProofImpl<E> - Class in com.exonum.binding.common.proofs.list
A checked list proof includes list proof verification results.
CheckedListProofImpl(HashCode, NavigableMap<Long, E>, ListProofStatus) - Constructor for class com.exonum.binding.common.proofs.list.CheckedListProofImpl
Creates checked list proof.
CheckedMapProof - Interface in com.exonum.binding.common.proofs.map
A checked map proof.
CheckedProof - Interface in com.exonum.binding.common.proofs
A checked proof is a result of proof verification operation.
CheckingSerializerDecorator<T> - Class in com.exonum.binding.common.serialization
A serializer decorator, that performs some extra checks to ensure that a user-supplied serializer adheres to Serializer contract.
CLS_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
 
code - Variable in enum com.exonum.binding.common.proofs.map.DbKey.Type
Branch type code, used as the first byte in a raw database key.
com.exonum.binding.common.blockchain - package com.exonum.binding.common.blockchain
 
com.exonum.binding.common.collect - package com.exonum.binding.common.collect
 
com.exonum.binding.common.configuration - package com.exonum.binding.common.configuration
 
com.exonum.binding.common.crypto - package com.exonum.binding.common.crypto
 
com.exonum.binding.common.hash - package com.exonum.binding.common.hash
Hash functions and related structures.
com.exonum.binding.common.message - package com.exonum.binding.common.message
 
com.exonum.binding.common.proofs - package com.exonum.binding.common.proofs
 
com.exonum.binding.common.proofs.list - package com.exonum.binding.common.proofs.list
 
com.exonum.binding.common.proofs.map - package com.exonum.binding.common.proofs.map
 
com.exonum.binding.common.serialization - package com.exonum.binding.common.serialization
 
com.exonum.binding.common.serialization.json - package com.exonum.binding.common.serialization.json
 
commonPrefix(DbKey) - Method in class com.exonum.binding.common.proofs.map.DbKey
Returns new branch DbKey (unless common prefix of two equals DbKeys is requested, in which case this DbKey itself is returned), which is a common prefix of this and another DbKey.
compareTo(DbKey) - Method in class com.exonum.binding.common.proofs.map.DbKey
The following algorithm is used for comparison: Try to find a first bit index at which this key is greater than the other key (i.e., a bit of this key is 1 and the corresponding bit of the other key is 0), and vice versa.
consensusConfiguration() - Method in class com.exonum.binding.common.configuration.StoredConfiguration
Consensus algorithm parameters.
consensusConfiguration(ConsensusConfiguration) - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
 
ConsensusConfiguration - Class in com.exonum.binding.common.configuration
Blockchain Consensus algorithm parameters.
ConsensusConfiguration() - Constructor for class com.exonum.binding.common.configuration.ConsensusConfiguration
 
ConsensusConfiguration.Builder - Class in com.exonum.binding.common.configuration
 
consensusKey() - Method in class com.exonum.binding.common.configuration.ValidatorKey
Consensus key is used for messages related to the consensus algorithm.
consensusKey(PublicKey) - Method in class com.exonum.binding.common.configuration.ValidatorKey.Builder
 
containsKey(ByteString) - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
 
containsKey(ByteString) - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
If this proof is valid, returns true if there is a given key in the proof; false — if there is no such key.
correct(HashCode, Set<MapEntry<ByteString, ByteString>>, Set<ByteString>) - Static method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
Creates a valid map proof.
CORRECT - com.exonum.binding.common.proofs.map.MapProofStatus
 
create() - Static method in class com.exonum.binding.common.serialization.json.StoredConfigurationAdapterFactory
 
create() - Static method in class com.exonum.binding.common.serialization.json.TransactionLocationAdapterFactory
 
create() - Static method in class com.exonum.binding.common.serialization.json.TransactionResultAdapterFactory
 
createKeyPair(byte[], byte[]) - Static method in class com.exonum.binding.common.crypto.KeyPair
Creates a KeyPair from two byte arrays, representing privateKey and publicKey.
CryptoFunction - Interface in com.exonum.binding.common.crypto
A crypto function that provides several signature system crypto methods.
CryptoFunctions - Class in com.exonum.binding.common.crypto
A collection of public-key signature system crypto functions.
CryptoFunctions.Ed25519 - Class in com.exonum.binding.common.crypto
 

D

DB_KEY_SIZE - Static variable in class com.exonum.binding.common.proofs.map.DbKey
Size of the database key in bytes.
DbKey - Class in com.exonum.binding.common.proofs.map
A map proof database key.
DbKey.Type - Enum in com.exonum.binding.common.proofs.map
Type of the node in a Merkle-Patricia tree.
dbKeyFunnel() - Static method in enum com.exonum.binding.common.proofs.DbKeyFunnel
 
DbKeyFunnel - Enum in com.exonum.binding.common.proofs
A funnel for a database key.
DEFAULT_HASH_SIZE_BITS - Static variable in class com.exonum.binding.common.hash.Hashing
Size of a hash code in the default Exonum algorithm, in bits.
DEFAULT_HASH_SIZE_BYTES - Static variable in class com.exonum.binding.common.hash.Hashing
Size of a hash code in the default Exonum algorithm.
defaultHashFunction() - Static method in class com.exonum.binding.common.hash.Hashing
Returns the default Exonum hash function: SHA-256.
doubles() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of doubles in little-endian byte order.
DUPLICATE_PATH - com.exonum.binding.common.proofs.map.MapProofStatus
 

E

ed25519() - Static method in class com.exonum.binding.common.crypto.CryptoFunctions
Returns a ED25519 public-key signature system crypto function.
Ed25519() - Constructor for class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
 
Ed25519CryptoFunction - Enum in com.exonum.binding.common.crypto
A ED25519 public-key signature system crypto function.
EMBEDDED_PATH - com.exonum.binding.common.proofs.map.MapProofStatus
 
equals(Object) - Method in class com.exonum.binding.common.crypto.AbstractKey
 
equals(Object) - Method in class com.exonum.binding.common.hash.HashCode
Returns true if object is a HashCode instance with the identical byte representation to this hash code.
equals(Object) - Method in class com.exonum.binding.common.proofs.map.DbKey
 
equals(Object) - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
Checks if this key bit set is equal to the specified object.
error(int, String) - Static method in class com.exonum.binding.common.blockchain.TransactionResult
Creates a transaction result corresponding to a user-defined exception during transaction execution (or the corresponding Error in Rust services).
ERROR - com.exonum.binding.common.blockchain.TransactionResult.Type
Indicates a service-defined error during transaction execution.

F

firstRoundTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
Interval between first two rounds.
firstRoundTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 
fixed32() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of integers as four bytes in little-endian byte order.
fixed64() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of longs as eight bytes in little-endian byte order.
floats() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of floats in little-endian byte order.
from(Serializer<T>) - Static method in class com.exonum.binding.common.serialization.CheckingSerializerDecorator
Creates a checking serializer decorator.
fromBuffer(ByteBuffer) - Static method in interface com.exonum.binding.common.message.TransactionMessage
Creates the transaction message from the given bytes buffer.
fromBytes(byte[]) - Static method in class com.exonum.binding.common.crypto.PrivateKey
Creates a PrivateKey from a byte array.
fromBytes(byte[]) - Static method in class com.exonum.binding.common.crypto.PublicKey
Creates a PublicKey from a byte array.
fromBytes(byte[]) - Static method in class com.exonum.binding.common.hash.HashCode
Creates a HashCode from a byte array.
fromBytes(byte[]) - Static method in interface com.exonum.binding.common.message.TransactionMessage
Creates the transaction message from the given bytes array.
fromBytes(byte[]) - Static method in class com.exonum.binding.common.proofs.map.DbKey
Creates a database key.
fromBytes(byte[]) - Method in class com.exonum.binding.common.serialization.CheckingSerializerDecorator
 
fromBytes(byte[]) - Method in interface com.exonum.binding.common.serialization.Serializer
De-serializes a value from a given byte array.
fromHexString(String) - Static method in class com.exonum.binding.common.crypto.PrivateKey
Creates a PrivateKey from a hexadecimal string.
fromHexString(String) - Static method in class com.exonum.binding.common.crypto.PublicKey
Creates a PublicKey from a hexadecimal string.
fromInt(int) - Static method in class com.exonum.binding.common.hash.HashCode
Creates a 32-bit HashCode representation of the given int value.
fromLong(long) - Static method in class com.exonum.binding.common.hash.HashCode
Creates a 64-bit HashCode representation of the given long value.
fromString(String) - Static method in class com.exonum.binding.common.hash.HashCode
Creates a HashCode from a hexadecimal (base 16) encoded string.
funnel() - Static method in class com.exonum.binding.common.proofs.list.ListProofElement
 
funnel(HashCode, PrimitiveSink) - Method in enum com.exonum.binding.common.hash.Funnels.HashCodeFunnel
 
funnel(DbKey, PrimitiveSink) - Method in enum com.exonum.binding.common.proofs.DbKeyFunnel
 
funnel(T, PrimitiveSink) - Method in interface com.exonum.binding.common.hash.Funnel
Sends a stream of data from the from object into the sink into.
Funnel<T> - Interface in com.exonum.binding.common.hash
An object which can send data from an object of type T into a PrimitiveSink.
Funnels - Class in com.exonum.binding.common.hash
Funnels for common types.
Funnels.HashCodeFunnel - Enum in com.exonum.binding.common.hash
HashCode funnel.

G

generateKeyPair() - Method in interface com.exonum.binding.common.crypto.CryptoFunction
Generates a private key and a corresponding public key using a random seed.
generateKeyPair() - Method in enum com.exonum.binding.common.crypto.Ed25519CryptoFunction
 
generateKeyPair(byte[]) - Method in interface com.exonum.binding.common.crypto.CryptoFunction
Generates a private key and a corresponding public key using a seed byte array.
generateKeyPair(byte[]) - Method in enum com.exonum.binding.common.crypto.Ed25519CryptoFunction
 
get(ByteString) - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
 
get(ByteString) - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
If this proof is valid, returns the value corresponding to the specified key or null if there is no such key in the proof.
getAuthor() - Method in interface com.exonum.binding.common.message.TransactionMessage
Returns a public key of the author of the transaction message.
getDbKey() - Method in class com.exonum.binding.common.proofs.map.MapProofEntry
Returns a database key of this node.
getDescription() - Method in enum com.exonum.binding.common.proofs.list.ListProofStatus
 
getDescription() - Method in enum com.exonum.binding.common.proofs.map.MapProofStatus
 
getDescription() - Method in interface com.exonum.binding.common.proofs.ProofStatus
Returns the description of the proof verification result.
getElement() - Method in class com.exonum.binding.common.proofs.list.ListProofElement
Returns the value of the element.
getElements() - Method in interface com.exonum.binding.common.proofs.list.CheckedListProof
Get all list elements.
getElements() - Method in class com.exonum.binding.common.proofs.list.CheckedListProofImpl
 
getEntries() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
 
getEntries() - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
Get all leaf entries of this proof.
getErrorCode() - Method in class com.exonum.binding.common.blockchain.TransactionResult
Returns an error code of a transaction if its execution resulted in a service-defined error.
getErrorDescription() - Method in class com.exonum.binding.common.blockchain.TransactionResult
Returns the description of a transaction if its execution resulted in an error; or an empty string if there is no description.
getHash() - Method in class com.exonum.binding.common.proofs.list.ListProofHashNode
Returns the hash value.
getHash() - Method in class com.exonum.binding.common.proofs.map.MapProofEntry
Returns a hash of the corresponding proof map tree node.
getHeight() - Method in class com.exonum.binding.common.blockchain.TransactionLocation
Height of the block where the transaction was committed.
getIndexInBlock() - Method in class com.exonum.binding.common.blockchain.TransactionLocation
Zero-based position of this transaction in the block.
getKey() - Method in class com.exonum.binding.common.collect.MapEntry
Returns the key corresponding to this entry.
getKeyBits() - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
 
getKeySlice() - Method in class com.exonum.binding.common.proofs.map.DbKey
Returns the key slice.
getLeft() - Method in class com.exonum.binding.common.proofs.list.ListProofBranch
Returns the left child in the proof tree.
getLength() - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
 
getMissingKeys() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
 
getMissingKeys() - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
Get all keys that were requested, but did not appear in this proof.
getNodeType() - Method in class com.exonum.binding.common.proofs.map.DbKey
Returns the type of the Merkle-Patricia tree node corresponding to this database key.
getNumSignificantBits() - Method in class com.exonum.binding.common.proofs.map.DbKey
Returns the number of significant bits in the key slice.
getPayload() - Method in interface com.exonum.binding.common.message.TransactionMessage
Returns the payload containing the serialized transaction parameters.
getPrivateKey() - Method in class com.exonum.binding.common.crypto.KeyPair
Returns a private key of this pair.
getProofStatus() - Method in interface com.exonum.binding.common.proofs.CheckedProof
Returns a status of proof verification.
getProofStatus() - Method in interface com.exonum.binding.common.proofs.list.CheckedListProof
Returns the status of this proof: whether it is structurally valid.
getProofStatus() - Method in class com.exonum.binding.common.proofs.list.CheckedListProofImpl
 
getProofStatus() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
 
getProofStatus() - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
Returns the status of this proof: whether it is structurally valid.
getPublicKey() - Method in class com.exonum.binding.common.crypto.KeyPair
Returns a public key of this pair.
getRawDbKey() - Method in class com.exonum.binding.common.proofs.map.DbKey
 
getRight() - Method in class com.exonum.binding.common.proofs.list.ListProofBranch
Returns the right child in the proof tree.
getRootHash() - Method in interface com.exonum.binding.common.proofs.CheckedProof
Returns the calculated root hash of the proof.
getRootHash() - Method in class com.exonum.binding.common.proofs.list.CheckedListProofImpl
 
getRootHash() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
 
getRootProofNode() - Method in interface com.exonum.binding.common.proofs.list.UncheckedListProof
Returns raw source proof of this UncheckedListProof.
getRootProofNode() - Method in class com.exonum.binding.common.proofs.list.UncheckedListProofAdapter
 
getServiceId() - Method in interface com.exonum.binding.common.message.TransactionMessage
Returns the identifier of the service this message belongs to.
getSignature() - Method in interface com.exonum.binding.common.message.TransactionMessage
Returns the Ed25519 signature over this binary message.
getTransactionId() - Method in interface com.exonum.binding.common.message.TransactionMessage
Returns the transaction type identifier which is unique within the service.
getType() - Method in class com.exonum.binding.common.blockchain.TransactionResult
Returns the type of this transaction execution result.
getValue() - Method in class com.exonum.binding.common.collect.MapEntry
Returns the value corresponding to this entry.

H

hash() - Method in interface com.exonum.binding.common.hash.Hasher
Computes a hash code based on the data that have been provided to this hasher.
hash() - Method in interface com.exonum.binding.common.message.TransactionMessage
Returns the SHA-256 hash of the binary message representation.
hash() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of hash codes.
hashBytes(byte[]) - Method in interface com.exonum.binding.common.hash.HashFunction
Shortcut for newHasher().putBytes(input).hash().
hashBytes(byte[], int, int) - Method in interface com.exonum.binding.common.hash.HashFunction
Shortcut for newHasher().putBytes(input, off, len).hash().
hashBytes(ByteBuffer) - Method in interface com.exonum.binding.common.hash.HashFunction
Shortcut for newHasher().putBytes(input).hash().
hashByteString(ByteString) - Method in interface com.exonum.binding.common.hash.HashFunction
Shortcut for newHasher().putBytes(input.toByteArray()).hash().
hashCode() - Method in class com.exonum.binding.common.crypto.AbstractKey
 
hashCode() - Method in class com.exonum.binding.common.hash.HashCode
Returns a "Java hash code" for this HashCode instance; this is well-defined (so, for example, you can safely put HashCode instances into a HashSet) but is otherwise probably not what you want to use.
hashCode() - Method in interface com.exonum.binding.common.hash.Hasher
Deprecated.
This returns Object.hashCode(); you almost certainly mean to call hash().asInt().
hashCode() - Method in class com.exonum.binding.common.proofs.map.DbKey
 
hashCode() - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
 
HashCode - Class in com.exonum.binding.common.hash
An immutable hash code of arbitrary bit length.
hashCodeFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
Returns a funnel for hashcode.
Hasher - Interface in com.exonum.binding.common.hash
A PrimitiveSink that can compute a hash code after reading the input.
HashFunction - Interface in com.exonum.binding.common.hash
A hash function is a collision-averse pure function that maps an arbitrary block of data to a number called a hash code.
Hashing - Class in com.exonum.binding.common.hash
Static methods to obtain HashFunction instances, and other static hashing-related utilities.
hashInt(int) - Method in interface com.exonum.binding.common.hash.HashFunction
Shortcut for newHasher().putInt(input).hash(); returns the hash code for the given int value, interpreted in little-endian byte order.
hashLong(long) - Method in interface com.exonum.binding.common.hash.HashFunction
Shortcut for newHasher().putLong(input).hash(); returns the hash code for the given long value, interpreted in little-endian byte order.
hashObject(T, Funnel<? super T>) - Method in interface com.exonum.binding.common.hash.HashFunction
Shortcut for newHasher().putObject(instance, funnel).hash().
hashString(CharSequence, Charset) - Method in interface com.exonum.binding.common.hash.HashFunction
Shortcut for newHasher().putString(input, charset).hash().
hashUnencodedChars(CharSequence) - Method in interface com.exonum.binding.common.hash.HashFunction
Shortcut for newHasher().putUnencodedChars(input).hash().

I

INSTANCE - com.exonum.binding.common.crypto.Ed25519CryptoFunction
 
INSTANCE - com.exonum.binding.common.hash.Funnels.HashCodeFunnel
 
INSTANCE - com.exonum.binding.common.proofs.DbKeyFunnel
 
integerFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
Returns a funnel for integers.
invalid(MapProofStatus) - Static method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
Creates an invalid map proof.
INVALID_ELEMENT_NODE_DEPTH - com.exonum.binding.common.proofs.list.ListProofStatus
 
INVALID_HASH_NODE_DEPTH - com.exonum.binding.common.proofs.list.ListProofStatus
 
INVALID_HASH_NODES_COUNT - com.exonum.binding.common.proofs.list.ListProofStatus
 
INVALID_NODE_DEPTH - com.exonum.binding.common.proofs.list.ListProofStatus
 
INVALID_ORDER - com.exonum.binding.common.proofs.map.MapProofStatus
 
INVALID_TREE_NO_ELEMENTS - com.exonum.binding.common.proofs.list.ListProofStatus
 
isPrefixOf(DbKey) - Method in class com.exonum.binding.common.proofs.map.DbKey
Returns true if this DbKey is a prefix of that DbKey.
isSuccessful() - Method in class com.exonum.binding.common.blockchain.TransactionResult
Returns true if transaction was successful, false otherwise.
isValid() - Method in interface com.exonum.binding.common.proofs.CheckedProof
Returns true if proof status is valid, false otherwise.
isValid() - Method in class com.exonum.binding.common.proofs.list.CheckedListProofImpl
 
isValid() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
 

J

json() - Static method in class com.exonum.binding.common.serialization.json.JsonSerializer
Returns preconfigured Gson instance.
JsonSerializer - Class in com.exonum.binding.common.serialization.json
Provides Gson serializer for converting Java objects to Json and vice versa.

K

KEY_SIZE - Static variable in class com.exonum.binding.common.proofs.map.DbKey
Size of the user key in bytes.
KEY_SIZE_BITS - Static variable in class com.exonum.binding.common.proofs.map.DbKey
Size of the user key in bits.
keyBits() - Method in class com.exonum.binding.common.proofs.map.DbKey
Returns a key as a bit set.
KeyBitSet - Class in com.exonum.binding.common.proofs.map
A key bit set.
KeyBitSet(byte[], int) - Constructor for class com.exonum.binding.common.proofs.map.KeyBitSet
Creates a new bit set.
KeyPair - Class in com.exonum.binding.common.crypto
A key pair class that stores public and private keys.

L

LEAF - com.exonum.binding.common.proofs.map.DbKey.Type
 
ListProofBranch - Class in com.exonum.binding.common.proofs.list
Represents a branch node of a ListProofNode.
ListProofBranch(ListProofNode, ListProofNode) - Constructor for class com.exonum.binding.common.proofs.list.ListProofBranch
 
ListProofElement - Class in com.exonum.binding.common.proofs.list
Represents an element of a proof list: a leaf node in a list proof tree.
ListProofElement(ByteString) - Constructor for class com.exonum.binding.common.proofs.list.ListProofElement
Creates a new ListProofElement.
ListProofHashNode - Class in com.exonum.binding.common.proofs.list
Represents a hash of a Merkle sub-tree: a leaf node in proof trees.
ListProofHashNode(HashCode) - Constructor for class com.exonum.binding.common.proofs.list.ListProofHashNode
 
ListProofNode - Interface in com.exonum.binding.common.proofs.list
Represents a proof that some elements exist in a ProofList at certain positions.
ListProofStatus - Enum in com.exonum.binding.common.proofs.list
Possible statuses of a checked list proof.
ListProofVisitor - Interface in com.exonum.binding.common.proofs.list
 
longFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
Returns a funnel for longs.

M

MapEntry<K,​V> - Class in com.exonum.binding.common.collect
A map entry: a key-value pair.
MapEntry() - Constructor for class com.exonum.binding.common.collect.MapEntry
 
MapProofEntry - Class in com.exonum.binding.common.proofs.map
A flat map proof entry corresponding to either a branch node or a leaf node with computed hash in a map tree.
MapProofStatus - Enum in com.exonum.binding.common.proofs.map
Possible statuses of a checked map proof.
MAX_USER_DEFINED_ERROR_CODE - Static variable in class com.exonum.binding.common.blockchain.TransactionResult
The maximum allowed user-defined transaction error code.
maxMessageLen() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
This parameter determines the maximum size of both consensus messages and transactions.
maxMessageLen(int) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 
maxProposeTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
Maximal propose timeout.
maxProposeTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 
MIN_MESSAGE_SIZE - Static variable in interface com.exonum.binding.common.message.TransactionMessage
 
minProposeTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
Minimal propose timeout.
minProposeTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 

N

newBranchKey(byte[], int) - Static method in class com.exonum.binding.common.proofs.map.DbKey
Creates a new branch database key.
newHasher() - Method in interface com.exonum.binding.common.hash.HashFunction
Begins a new hash code computation by returning an initialized, stateful Hasher instance that is ready to receive data.
newHasher(int) - Method in interface com.exonum.binding.common.hash.HashFunction
Begins a new hash code computation as HashFunction.newHasher(), but provides a hint of the expected size of the input (in bytes).
newLeafKey(byte[]) - Static method in class com.exonum.binding.common.proofs.map.DbKey
Given key as a byte array, returns new leaf DbKey.
newLeafKey(ByteString) - Static method in class com.exonum.binding.common.proofs.map.DbKey
Given key as a ByteString, returns new leaf DbKey.
NON_TERMINAL_NODE - com.exonum.binding.common.proofs.map.MapProofStatus
 

P

padToLong() - Method in class com.exonum.binding.common.hash.HashCode
If this hashcode has enough bits, returns asLong(), otherwise returns a long value with asBytes() as the least-significant bytes and 0x00 as the remaining most-significant bytes.
payload(byte[]) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
Sets payload to the transaction message.
payload(ByteBuffer) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
Sets payload to the transaction message.
PAYLOAD_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
 
peersTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
This parameter defines the frequency with which a node requests collected Connect messages from a random peer node in the network.
peersTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 
previousCfgHash() - Method in class com.exonum.binding.common.configuration.StoredConfiguration
Hash of the previous configuration, which can be used to find that configuration.
previousCfgHash(HashCode) - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
 
PrimitiveSink - Interface in com.exonum.binding.common.hash
An object which can receive a stream of primitive values.
PRIVATE_KEY_BYTES - Static variable in class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
 
privateKey() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of private keys.
PrivateKey - Class in com.exonum.binding.common.crypto
Represent a private key in a digital signature system.
ProofStatus - Interface in com.exonum.binding.common.proofs
A status of collection proof verification.
proposeTimeoutThreshold() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
Amount of transactions in pool to start use min_propose_timeout.
proposeTimeoutThreshold(int) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 
protobuf(Class<MessageT>) - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer for the given protocol buffer message type.
PUBLIC_KEY_BYTES - Static variable in class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
 
publicKey() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of public keys.
PublicKey - Class in com.exonum.binding.common.crypto
Represent a public key in a digital signature system.
putBoolean(boolean) - Method in interface com.exonum.binding.common.hash.Hasher
Equivalent to putByte(b ? (byte) 1 : (byte) 0).
putBoolean(boolean) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts a boolean into this sink.
putByte(byte) - Method in interface com.exonum.binding.common.hash.Hasher
 
putByte(byte) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts a byte into this sink.
putBytes(byte[]) - Method in interface com.exonum.binding.common.hash.Hasher
 
putBytes(byte[]) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts an array of bytes into this sink.
putBytes(byte[], int, int) - Method in interface com.exonum.binding.common.hash.Hasher
 
putBytes(byte[], int, int) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts a chunk of an array of bytes into this sink.
putBytes(ByteBuffer) - Method in interface com.exonum.binding.common.hash.Hasher
 
putBytes(ByteBuffer) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts the remaining bytes of a byte buffer into this sink.
putChar(char) - Method in interface com.exonum.binding.common.hash.Hasher
 
putChar(char) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts a character into this sink.
putDouble(double) - Method in interface com.exonum.binding.common.hash.Hasher
Equivalent to putLong(Double.doubleToRawLongBits(d)).
putDouble(double) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts a double into this sink.
putFloat(float) - Method in interface com.exonum.binding.common.hash.Hasher
Equivalent to putInt(Float.floatToRawIntBits(f)).
putFloat(float) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts a float into this sink.
putInt(int) - Method in interface com.exonum.binding.common.hash.Hasher
 
putInt(int) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts an int into this sink.
putLong(long) - Method in interface com.exonum.binding.common.hash.Hasher
 
putLong(long) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts a long into this sink.
putObject(T, Funnel<? super T>) - Method in interface com.exonum.binding.common.hash.Hasher
A simple convenience for funnel.funnel(object, this).
putShort(short) - Method in interface com.exonum.binding.common.hash.Hasher
 
putShort(short) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts a short into this sink.
putString(CharSequence, Charset) - Method in interface com.exonum.binding.common.hash.Hasher
Equivalent to putBytes(charSequence.toString().getBytes(charset)).
putString(CharSequence, Charset) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts a string into this sink using the given charset.
putUnencodedChars(CharSequence) - Method in interface com.exonum.binding.common.hash.Hasher
Equivalent to processing each char value in the CharSequence, in order.
putUnencodedChars(CharSequence) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
Puts each 16-bit code unit from the CharSequence into this sink.

S

SEED_BYTES - Static variable in class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
 
sequentialFunnel(Funnel<E>) - Static method in class com.exonum.binding.common.hash.Funnels
Returns a funnel that processes an Iterable by funneling its elements in iteration order with the specified funnel.
Serializer<T> - Interface in com.exonum.binding.common.serialization
Converts Java objects into a binary representation in some format, and vice versa.
SERVICE_ID_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
 
serviceId(short) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
Sets service identifier to the transaction message.
serviceKey() - Method in class com.exonum.binding.common.configuration.ValidatorKey
Service key is used for services, for example, the configuration updater service.
serviceKey(PublicKey) - Method in class com.exonum.binding.common.configuration.ValidatorKey.Builder
 
sha256() - Static method in class com.exonum.binding.common.hash.Hashing
Returns a hash function implementing the SHA-256 algorithm (256 hash bits).
sha384() - Static method in class com.exonum.binding.common.hash.Hashing
Returns a hash function implementing the SHA-384 algorithm (384 hash bits).
sha512() - Static method in class com.exonum.binding.common.hash.Hashing
Returns a hash function implementing the SHA-512 algorithm (512 hash bits).
sign(KeyPair, CryptoFunction) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
Signs the message, creating a new signed binary transaction message.
SIGNATURE_BYTES - Static variable in class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
 
SIGNATURE_SIZE - Static variable in interface com.exonum.binding.common.message.TransactionMessage
 
signMessage(byte[], PrivateKey) - Method in interface com.exonum.binding.common.crypto.CryptoFunction
Given a privateKey, computes and returns a signature for the supplied message.
signMessage(byte[], PrivateKey) - Method in enum com.exonum.binding.common.crypto.Ed25519CryptoFunction
 
sint32() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of signed integers using variable length encoding.
sint64() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of signed longs using variable length encoding.
size() - Method in class com.exonum.binding.common.crypto.AbstractKey
Returns the length of this key in bytes.
size() - Method in interface com.exonum.binding.common.message.TransactionMessage
Returns the transaction message size in bytes.
StandardSerializers - Class in com.exonum.binding.common.serialization
A collection of pre-defined serializers.
statusTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
This parameter defines the frequency with which a node broadcasts its status message to the network.
statusTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 
StoredConfiguration - Class in com.exonum.binding.common.configuration
Represents a blockchain configuration which is a set of values that determine the network access parameters of a node and behavior of the node while operating in the network.
StoredConfiguration() - Constructor for class com.exonum.binding.common.configuration.StoredConfiguration
 
StoredConfiguration.Builder - Class in com.exonum.binding.common.configuration
 
StoredConfigurationAdapterFactory - Class in com.exonum.binding.common.serialization.json
Class used to automatically create Gson type adapters for AutoValue classes.
StoredConfigurationAdapterFactory() - Constructor for class com.exonum.binding.common.serialization.json.StoredConfigurationAdapterFactory
 
string() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of strings in UTF-8.
stringFunnel(Charset) - Static method in class com.exonum.binding.common.hash.Funnels
Returns a funnel that encodes the characters of a CharSequence with the specified Charset.
SUCCESS - com.exonum.binding.common.blockchain.TransactionResult.Type
Indicates successful transaction execution.
successful() - Static method in class com.exonum.binding.common.blockchain.TransactionResult
Returns a transaction result corresponding to successful execution.
SUCCESSFUL_RESULT_STATUS_CODE - Static variable in class com.exonum.binding.common.blockchain.TransactionResult
The status code of a successfully executed transaction.

T

TAG_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
 
toBytes() - Method in class com.exonum.binding.common.crypto.AbstractKey
Returns the value of this key as a byte array.
toBytes() - Method in interface com.exonum.binding.common.message.TransactionMessage
Returns the transaction message in binary format.
toBytes(T) - Method in class com.exonum.binding.common.serialization.CheckingSerializerDecorator
 
toBytes(T) - Method in interface com.exonum.binding.common.serialization.Serializer
Serializes a given value into a byte array.
toString() - Method in class com.exonum.binding.common.crypto.AbstractKey
 
toString() - Method in enum com.exonum.binding.common.hash.Funnels.HashCodeFunnel
 
toString() - Method in class com.exonum.binding.common.hash.HashCode
Returns a string containing each byte of HashCode.asBytes(), in order, as a two-digit unsigned hexadecimal number in lower case.
toString() - Method in enum com.exonum.binding.common.proofs.list.ListProofStatus
 
toString() - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
 
toString() - Method in enum com.exonum.binding.common.proofs.map.MapProofStatus
 
TRANSACTION_ID_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
 
transactionId(short) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
Sets transaction identifier to the transaction message.
TransactionLocation - Class in com.exonum.binding.common.blockchain
Transaction position in the blockchain.
TransactionLocation() - Constructor for class com.exonum.binding.common.blockchain.TransactionLocation
 
TransactionLocationAdapterFactory - Class in com.exonum.binding.common.serialization.json
Class used to automatically create Gson type adapters for AutoValue classes.
TransactionLocationAdapterFactory() - Constructor for class com.exonum.binding.common.serialization.json.TransactionLocationAdapterFactory
 
transactionMessage() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of transaction messages.
TransactionMessage - Interface in com.exonum.binding.common.message
An Exonum transaction message.
TransactionMessage.Builder - Class in com.exonum.binding.common.message
Builder for the binary transaction message.
TransactionResult - Class in com.exonum.binding.common.blockchain
Returns a result of the transaction execution.
TransactionResult() - Constructor for class com.exonum.binding.common.blockchain.TransactionResult
 
TransactionResult.Type - Enum in com.exonum.binding.common.blockchain
A type of transaction execution result.
TransactionResultAdapterFactory - Class in com.exonum.binding.common.serialization.json
Class used to automatically create Gson type adapters for AutoValue classes.
TransactionResultAdapterFactory() - Constructor for class com.exonum.binding.common.serialization.json.TransactionResultAdapterFactory
 
txsBlockLimit() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
Maximum number of transactions per block.
txsBlockLimit(int) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
 
typeAdapter(Gson) - Static method in class com.exonum.binding.common.blockchain.TransactionLocation
Provides a Gson type adapter for this class.
typeAdapter(Gson) - Static method in class com.exonum.binding.common.blockchain.TransactionResult
Provides a Gson type adapter for this class.
typeAdapter(Gson) - Static method in class com.exonum.binding.common.configuration.ConsensusConfiguration
Provides a Gson type adapter for this class.
typeAdapter(Gson) - Static method in class com.exonum.binding.common.configuration.StoredConfiguration
Provides a Gson type adapter for this class.
typeAdapter(Gson) - Static method in class com.exonum.binding.common.configuration.ValidatorKey
Provides a Gson type adapter for this class.

U

uint32() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of unsigned integers using variable length encoding.
uint64() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
Returns a serializer of unsigned longs using variable length encoding.
UncheckedFlatMapProof - Class in com.exonum.binding.common.proofs.map
An unchecked flat map proof, which does not include any intermediate nodes.
UncheckedListProof - Interface in com.exonum.binding.common.proofs.list
A proof that some elements exist in a proof list.
UncheckedListProofAdapter<E> - Class in com.exonum.binding.common.proofs.list
An Adapter class used to simplify work with ListProof interfaces.
UncheckedListProofAdapter(ListProofNode, Serializer<E>) - Constructor for class com.exonum.binding.common.proofs.list.UncheckedListProofAdapter
Creates UncheckedListProofAdapter for convenient usage of ListProof interfaces.
UncheckedMapProof - Interface in com.exonum.binding.common.proofs.map
An unchecked map proof.
unencodedCharsFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
Returns a funnel that extracts the characters from a CharSequence, a character at a time, without performing any encoding.
UNEXPECTED_ERROR - com.exonum.binding.common.blockchain.TransactionResult.Type
Indicates an unexpected error during transaction execution.
UNEXPECTED_ERROR_STATUS_CODE - Static variable in class com.exonum.binding.common.blockchain.TransactionResult
The status code of transaction execution corresponding to an unexpected error during transaction execution (some unexpected runtime exception in Java, panic in Rust).
unexpectedError(String) - Static method in class com.exonum.binding.common.blockchain.TransactionResult
Creates a transaction result corresponding to an unexpected error during transaction execution (some unexpected runtime exception in Java, panic in Rust).

V

VALID - com.exonum.binding.common.proofs.list.ListProofStatus
 
ValidatorKey - Class in com.exonum.binding.common.configuration
Public keys of validator nodes.
ValidatorKey() - Constructor for class com.exonum.binding.common.configuration.ValidatorKey
 
ValidatorKey.Builder - Class in com.exonum.binding.common.configuration
 
validatorKeys() - Method in class com.exonum.binding.common.configuration.StoredConfiguration
List of validators consensus and service public keys.
validatorKeys(List<ValidatorKey>) - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
 
valueOf(long, long) - Static method in class com.exonum.binding.common.blockchain.TransactionLocation
 
valueOf(String) - Static method in enum com.exonum.binding.common.blockchain.TransactionResult.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.binding.common.crypto.Ed25519CryptoFunction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.binding.common.hash.Funnels.HashCodeFunnel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.binding.common.proofs.DbKeyFunnel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.binding.common.proofs.list.ListProofStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.binding.common.proofs.map.DbKey.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.binding.common.proofs.map.MapProofStatus
Returns the enum constant of this type with the specified name.
valueOf(K, V) - Static method in class com.exonum.binding.common.collect.MapEntry
Creates a new MapEntry from the given key and value.
values() - Static method in enum com.exonum.binding.common.blockchain.TransactionResult.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.binding.common.crypto.Ed25519CryptoFunction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.binding.common.hash.Funnels.HashCodeFunnel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.binding.common.proofs.DbKeyFunnel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.binding.common.proofs.list.ListProofStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.binding.common.proofs.map.DbKey.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.binding.common.proofs.map.MapProofStatus
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[], byte[], PublicKey) - Method in interface com.exonum.binding.common.crypto.CryptoFunction
Given a publicKey, verifies that signature is a valid signature for the supplied message.
verify(byte[], byte[], PublicKey) - Method in enum com.exonum.binding.common.crypto.Ed25519CryptoFunction
 
visit(ListProofBranch) - Method in interface com.exonum.binding.common.proofs.list.ListProofVisitor
 
visit(ListProofElement) - Method in interface com.exonum.binding.common.proofs.list.ListProofVisitor
 
visit(ListProofHashNode) - Method in interface com.exonum.binding.common.proofs.list.ListProofVisitor
 

W

writeBytesTo(byte[], int, int) - Method in class com.exonum.binding.common.hash.HashCode
Copies bytes from this hash code into dest.
A B C D E F G H I J K L M N P S T U V W 
All Classes All Packages