static byte[] |
Crypto.compressedKey(PrivateKey privkey) |
Generates an asymmetric, compressed curve private key from the given private key.
|
static byte[] |
Crypto.compressedKey(PublicKey key) |
Generates an asymmetric, compressed curve public key from the given public key.
|
static PrivateKey |
Crypto.getPrivateKeyFromBytes(byte[] privKey) |
Generates an asymmetric curve private key from the given bytes.
|
static PublicKey |
Crypto.getPublicKeyFromBytes(byte[] pubKey) |
Generates an asymmetric curve public key from the given bytes.
|
static org.bouncycastle.jce.interfaces.ECPrivateKey |
Crypto.parseCompressedPrivateKey(byte[] compressedPrivateKey) |
Generates an asymmetric curve private key from the given compressed private key.
|
static org.bouncycastle.jce.interfaces.ECPublicKey |
Crypto.parseCompressedPublicKey(byte[] compressedPubKey) |
Generates an asymmetric curve public key from the given compressed public key.
|
static byte[] |
Crypto.signMessage(PrivateKey key,
byte[] message) |
Creates signature from the given message with the PrivateKey.
|