0.3.4
Checks if Google Play Services is available and up to date
Promise
:
Generate the nonce using react-native-securerandom
(int)
Promise
:
Send the attestation request
Promise
:
Verify the attestation response Checks if the original nonce matches the nonce in the response, ctsProfileMatch is true, and basicIntegrity is true If any of those conditions are not met, an error is thrown
(String)
Nonce originally provided to sendAttestationRequest
(Object)
Response from sendAttestationRequest
Name | Description |
---|---|
response.nonce String
|
Nonce in response from sendAttestationRequest |
response.ctsProfileMatch bool
|
Device matches a device that has passed Android Compatibility Testing |
response.basicIntegrity bool
|
Device has not been tampered with |
Promise
:
Wrapper for sendAttestationRequest and verifyAttestationResponse
Promise
:
Send the attestation request. Returns original JWT as result.
Promise
: