signWithKeyRef method
Implementation
@override
Future<List<int>> signWithKeyRef(
KeyRef keyRef,
List<int> message,
SignatureAlgorithm algorithm,
) async {
final result = await _channel.invokeMethod<Uint8List>('signWithKeyRef', {
'keyId': keyRef.keyId,
'message': Uint8List.fromList(message),
'algorithm': signatureAlgorithmName(algorithm),
});
return result ?? const [];
}