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

fromSecretKey

open static fun fromSecretKey(secretKey: SecretKey!): KeyPair! (source)

Create a keypair using only a private key.

Parameters

secretKey - SecretKey!: The private key.

Return
KeyPair!: The key pair.