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 PrivateKeyPrivateKey. fromBytes(byte[] bytes)Creates aPrivateKeyfrom a byte array.static PrivateKeyPrivateKey. fromHexString(String stringKey)Creates aPrivateKeyfrom a hexadecimal string.PrivateKeyKeyPair. 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.
-