public final class PrivateKey extends AbstractKey
Modifier and Type | Method and Description |
---|---|
static PrivateKey |
fromBytes(byte[] bytes)
Creates a
PrivateKey from a byte array. |
static PrivateKey |
fromHexString(java.lang.String stringKey)
Creates a
PrivateKey from a hexadecimal string. |
public static PrivateKey fromBytes(byte[] bytes)
PrivateKey
from a byte array. The array is defensively copied.public static PrivateKey fromHexString(java.lang.String stringKey)
PrivateKey
from a hexadecimal string.Copyright © 2018 Exonum. All rights reserved.