verifyP256Async function

Future<bool> verifyP256Async(
  1. Uint8List blob,
  2. Uint8List signature,
  3. P256PublicKey publicKey
)

Implementation

Future<bool> verifyP256Async(
  Uint8List blob,
  Uint8List signature,
  P256PublicKey publicKey,
) async {
  final result = await p256Verify(
    req: P256VerifyReq(
      messageHash: blob,
      signatureBytes: signature,
      publicKeyBytes: publicKey.toDer(),
    ),
  );
  return result;
}