signToEc method
override
Signs a message hash and returns the ECDSA signature.
The index
and id
parameters are ignored in this implementation.
Returns a MsgSignature
representing the ECDSA signature of the provided hash
.
Implementation
@override
Future<MsgSignature> signToEc(Uint8List hash,
{int? index, String? id}) async {
return _credential.privateKey.signToEcSignature(hash);
}