Secp256k1KeyIdentity constructor

Secp256k1KeyIdentity(
  1. PublicKey publicKey,
  2. BinaryBlob _privateKey
)

Secp256k1KeyIdentity.fromRaw and Secp256k1KeyIdentity.fromDer should not be used for instantiation in this constructor.

Implementation

Secp256k1KeyIdentity(
  PublicKey publicKey,
  this._privateKey,
) : _publicKey = Secp256k1PublicKey.from(publicKey);