Package | Description |
---|---|
com.exonum.binding.crypto |
Modifier and Type | Method and Description |
---|---|
static PublicKey |
PublicKey.fromBytes(byte[] bytes)
Creates a
PublicKey from a byte array. |
PublicKey |
PublicKeySerializer.fromBytes(byte[] serializedValue) |
static PublicKey |
PublicKey.fromHexString(java.lang.String stringKey)
Creates a
PublicKey from a hexadecimal string. |
PublicKey |
KeyPair.getPublicKey()
Returns a public key of this pair.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
PublicKeySerializer.toBytes(PublicKey value) |
boolean |
Ed25519CryptoFunction.verify(byte[] message,
byte[] signature,
PublicKey publicKey) |
boolean |
CryptoFunction.verify(byte[] message,
byte[] signature,
PublicKey publicKey)
Given a
publicKey , verifies that signature is a valid signature for the
supplied message . |
Copyright © 2018 Exonum. All rights reserved.