Uses of Class
com.exonum.binding.common.crypto.PrivateKey
-
Packages that use PrivateKey Package Description com.exonum.binding.common.crypto com.exonum.binding.common.serialization -
-
Uses of PrivateKey in com.exonum.binding.common.crypto
Methods in com.exonum.binding.common.crypto that return PrivateKey Modifier and Type Method Description static PrivateKey
PrivateKey. fromBytes(byte[] bytes)
Creates aPrivateKey
from a byte array.static PrivateKey
PrivateKey. fromHexString(String stringKey)
Creates aPrivateKey
from a hexadecimal string.PrivateKey
KeyPair. getPrivateKey()
Returns a private key of this pair.Methods in com.exonum.binding.common.crypto with parameters of type PrivateKey Modifier and Type Method Description byte[]
CryptoFunction. signMessage(byte[] message, PrivateKey privateKey)
Given aprivateKey
, computes and returns a signature for the suppliedmessage
.byte[]
Ed25519CryptoFunction. signMessage(byte[] message, PrivateKey privateKey)
-
Uses of PrivateKey in com.exonum.binding.common.serialization
Methods in com.exonum.binding.common.serialization that return types with arguments of type PrivateKey Modifier and Type Method Description static Serializer<PrivateKey>
StandardSerializers. privateKey()
Returns a serializer of private keys.
-