class KeyPair
(source)
A KeyExchange key pair.
KeyPair(publicKey: PublicKey, secretKey: SecretKey)
Create a KeyPair from pair of keys. |
fun equals(other: Any?): Boolean |
|
static fun forSecretKey(secretKey: SecretKey): KeyPair
Create a KeyPair from a secret key. |
|
static fun fromSeed(seed: Seed): KeyPair
Generate a new key using a seed. |
|
fun hashCode(): Int |
|
fun publicKey(): PublicKey |
|
static fun random(): KeyPair
Generate a new key using a random generator. |
|
fun secretKey(): SecretKey |