Secp256k1KeyIdentity.fromKeyPair constructor

Secp256k1KeyIdentity.fromKeyPair(
  1. BinaryBlob publicKey,
  2. BinaryBlob privateKey
)

Implementation

factory Secp256k1KeyIdentity.fromKeyPair(
  BinaryBlob publicKey,
  BinaryBlob privateKey,
) {
  return Secp256k1KeyIdentity(
    Secp256k1PublicKey.fromRaw(publicKey),
    privateKey,
  );
}