class KeyPair
(source)
A Diffie-Helman key pair.
<init> |
Create a KeyPair(publicKey: PublicKey!, secretKey: SecretKey!) |
equals |
fun equals(other: Any?): Boolean |
forSecretKey |
Create a static fun forSecretKey(secretKey: SecretKey!): KeyPair! |
hashCode |
fun hashCode(): Int |
publicKey |
Provides the public key fun publicKey(): PublicKey! |
random |
Generate a new key using a random generator. static fun random(): KeyPair! |
secretKey |
Provides the secret key fun secretKey(): SecretKey! |