Uses of Class
com.exonum.binding.common.crypto.PublicKey
-
-
Uses of PublicKey in com.exonum.binding.common.configuration
Methods in com.exonum.binding.common.configuration that return PublicKey Modifier and Type Method Description abstract PublicKey
ValidatorKey. consensusKey()
Consensus key is used for messages related to the consensus algorithm.abstract PublicKey
ValidatorKey. serviceKey()
Service key is used for services, for example, the configuration updater service.Methods in com.exonum.binding.common.configuration with parameters of type PublicKey Modifier and Type Method Description abstract ValidatorKey.Builder
ValidatorKey.Builder. consensusKey(PublicKey consensusKey)
abstract ValidatorKey.Builder
ValidatorKey.Builder. serviceKey(PublicKey serviceKey)
-
Uses of PublicKey in com.exonum.binding.common.crypto
Methods in com.exonum.binding.common.crypto that return PublicKey Modifier and Type Method Description static PublicKey
PublicKey. fromBytes(byte[] bytes)
Creates aPublicKey
from a byte array.static PublicKey
PublicKey. fromHexString(String stringKey)
Creates aPublicKey
from a hexadecimal string.PublicKey
KeyPair. getPublicKey()
Returns a public key of this pair.Methods in com.exonum.binding.common.crypto with parameters of type PublicKey Modifier and Type Method Description boolean
CryptoFunction. verify(byte[] message, byte[] signature, PublicKey publicKey)
Given apublicKey
, verifies thatsignature
is a valid signature for the suppliedmessage
. -
Uses of PublicKey in com.exonum.binding.common.message
Methods in com.exonum.binding.common.message that return PublicKey Modifier and Type Method Description PublicKey
TransactionMessage. getAuthor()
Returns a public key of the author of the transaction message. -
Uses of PublicKey in com.exonum.binding.common.serialization
Methods in com.exonum.binding.common.serialization that return types with arguments of type PublicKey Modifier and Type Method Description static Serializer<PublicKey>
StandardSerializers. publicKey()
Returns a serializer of public keys. -
Uses of PublicKey in com.exonum.binding.core.service
Methods in com.exonum.binding.core.service that return PublicKey Modifier and Type Method Description PublicKey
Node. getPublicKey()
Returns the service public key of this node.PublicKey
NodeFake. getPublicKey()
PublicKey
NodeProxy. getPublicKey()
Returns the service public key of this node.Constructors in com.exonum.binding.core.service with parameters of type PublicKey Constructor Description NodeFake(TemporaryDb database, PublicKey publicKey)
Creates a new node fake with the given database. -
Uses of PublicKey in com.exonum.binding.core.transaction
Methods in com.exonum.binding.core.transaction that return PublicKey Modifier and Type Method Description PublicKey
TransactionContext. getAuthorPk()
Returns public key of the transaction author.Methods in com.exonum.binding.core.transaction with parameters of type PublicKey Modifier and Type Method Description TransactionContext.Builder
TransactionContext.Builder. authorPk(PublicKey authorPk)
Sets transaction author public key for the context. -
Uses of PublicKey in com.exonum.binding.time
Methods in com.exonum.binding.time that return types with arguments of type PublicKey Modifier and Type Method Description ProofMapIndexProxy<PublicKey,ZonedDateTime>
TimeSchema. getValidatorsTimes()
Returns the table that stores time for every validator.
-