| Modifier and Type | Method and Description |
|---|---|
static PrivateKey |
createNew(Cryptography crypto) |
boolean |
equals(Object obj) |
PublicKey |
getPublic() |
int |
hashCode() |
PrivateKey |
offsetKey(BigInteger offset)
Return a key computable for this key with an offset.
|
byte[] |
sign(byte[] hash)
Sign a digest with this key.
|
byte[] |
toByteArray()
Safe access to the key's internal representation
|
String |
toString() |
public static PrivateKey createNew(Cryptography crypto)
public byte[] toByteArray()
KeytoByteArray in interface Keypublic PublicKey getPublic()
public byte[] sign(byte[] hash)
hash - arbitrary datapublic PrivateKey offsetKey(BigInteger offset)
KeyCopyright © 2018. All rights reserved.