tuweni / org.apache.tuweni.crypto.sodium / KeyExchange / KeyPair / <init>
<init>
KeyPair(publicKey: PublicKey!, secretKey: SecretKey!)
Create a KeyPair from pair of keys.
Parameters
publicKey - PublicKey!: The bytes for the public key.
secretKey - SecretKey!: The bytes for the secret key.