signPayload method

Future<DeviceSignature> signPayload(
  1. String nonce,
  2. String payload
)

Signs payload (UTF-8) with a key created on the device for this one request. On Android the key carries a hardware attestation whose challenge is the SHA-256 of nonce where the device supports it.

Implementation

Future<DeviceSignature> signPayload(String nonce, String payload) {
  throw UnimplementedError('signPayload() has not been implemented.');
}