crypto / org.apache.tuweni.crypto / SECP256K1 / KeyPair / create

create

open static fun create(secretKey: SecretKey, publicKey: PublicKey): KeyPair (source)

Create a keypair from a private and public key.

Parameters

secretKey - The private key.

publicKey - The public key.

Return
The key pair.