sign method

  1. @override
Future<Uint8List> sign(
  1. Uint8List blob
)
override

Signs a blob of data, with this identity's private key. blob is challenge to sign with this identity's secretKey, producing a signature.

Implementation

@override
Future<Uint8List> sign(Uint8List blob) {
  if (_signingFunc != null) {
    return _signingFunc!(blob, _privateKey);
  }
  return signP256Async(blob, _privateKey);
}