class KeyExchange
(source)
Key exchange.
Allows two parties to securely compute a set of shared keys using their peer's public key and their own secret key.
class KeyPair
A KeyExchange key pair. |
|
class PublicKey
A KeyExchange public key. |
|
class SecretKey : Destroyable
A KeyExchange secret key. |
|
class Seed
A KeyExchange key pair seed. |
|
class SessionKey : Destroyable
A KeyExchange session key. |
|
class SessionKeyPair
A KeyExchange session key pair. |
KeyExchange()
Key exchange. Allows two parties to securely compute a set of shared keys using their peer's public key and their own secret key. |
static fun client(clientKeys: KeyPair, serverKey: PublicKey): SessionKeyPair
Computer a pair of session keys for use by a client. |
|
static fun server(serverKeys: KeyPair, clientKey: PublicKey): SessionKeyPair
Computer a pair of session keys for use by a client. |