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