Uses of Class
com.exonum.binding.common.crypto.PublicKey
-
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(java.lang.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 static KeyPairKeyPair. newInstance(PrivateKey privateKey, PublicKey publicKey)Creates a new KeyPair from the given key pairs.booleanCryptoFunction. verify(byte[] message, byte[] signature, PublicKey publicKey)Given apublicKey, verifies thatsignatureis 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 PublicKeyTransactionMessage. getAuthor()Returns a public key of the author of the transaction message.PublicKeySignedMessage. getAuthorPk()Returns the key of the message author. -
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.runtime
Methods in com.exonum.binding.core.runtime that return PublicKey Modifier and Type Method Description PublicKeyNodeProxy. getPublicKey()Methods in com.exonum.binding.core.runtime with parameters of type PublicKey Modifier and Type Method Description voidServiceRuntime. executeTransaction(int serviceId, java.lang.String interfaceName, int txId, byte[] arguments, BlockchainData blockchainData, int callerServiceId, HashCode txMessageHash, PublicKey authorPublicKey)Executes a transaction belonging to the given service. -
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()Methods in com.exonum.binding.core.service that return types with arguments of type PublicKey Modifier and Type Method Description java.util.Optional<PublicKey>ExecutionContext. getAuthorPk()Returns public key of the transaction author; orOptional.empty()if no transaction message corresponds to this context.Methods in com.exonum.binding.core.service with parameters of type PublicKey Modifier and Type Method Description ExecutionContext.BuilderExecutionContext.Builder. authorPk(PublicKey authorPk)Sets transaction author public key for the context.Constructors in com.exonum.binding.core.service with parameters of type PublicKey Constructor Description NodeFake(TemporaryDb database, java.lang.String serviceName, PublicKey publicKey)Creates a new node fake with the given database. -
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,java.time.ZonedDateTime>TimeSchema. getValidatorsTimes()Returns the table that stores time for every validator.