Package | Description |
---|---|
com.exonum.binding.crypto |
Modifier and Type | Method and Description |
---|---|
static PrivateKey |
PrivateKey.fromBytes(byte[] bytes)
Creates a
PrivateKey from a byte array. |
static PrivateKey |
PrivateKey.fromHexString(java.lang.String stringKey)
Creates a
PrivateKey from a hexadecimal string. |
PrivateKey |
KeyPair.getPrivateKey()
Returns a private key of this pair.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
Ed25519CryptoFunction.signMessage(byte[] message,
PrivateKey privateKey) |
byte[] |
CryptoFunction.signMessage(byte[] message,
PrivateKey privateKey)
Given a
privateKey , computes and returns a signature for the supplied message . |
Copyright © 2018 Exonum. All rights reserved.