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 PublicKeyValidatorKey. consensusKey()Consensus key is used for messages related to the consensus algorithm.abstract PublicKeyValidatorKey. 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.BuilderValidatorKey.Builder. consensusKey(PublicKey consensusKey)abstract ValidatorKey.BuilderValidatorKey.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 PublicKeyPublicKey. fromBytes(byte[] bytes)Creates aPublicKeyfrom a byte array.static PublicKeyPublicKey. fromHexString(String stringKey)Creates aPublicKeyfrom a hexadecimal string.PublicKeyKeyPair. 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 booleanCryptoFunction. verify(byte[] message, byte[] signature, PublicKey publicKey)Given apublicKey, verifies thatsignatureis a valid signature for the suppliedmessage.booleanEd25519CryptoFunction. verify(byte[] message, byte[] signature, PublicKey publicKey) -
Uses of PublicKey in com.exonum.binding.common.message
Methods in com.exonum.binding.common.message that return PublicKey Modifier and Type Method Description PublicKeyTransactionMessage. 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 PublicKeyNode. getPublicKey()Returns the service public key of this node.PublicKeyNodeFake. getPublicKey()PublicKeyNodeProxy. getPublicKey()Returns the service public key of this node.Constructors in com.exonum.binding.core.service with parameters of type PublicKey Constructor Description NodeFake(MemoryDb 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 PublicKeyTransactionContext. 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.BuilderTransactionContext.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.
-