public static class

SafetyNetApi.AttestationResponse

extends Response<SafetyNetApi.AttestationResult>
java.lang.Object
   ↳ com.google.android.gms.common.api.Response<com.google.android.gms.safetynet.SafetyNetApi.AttestationResult>
     ↳ com.google.android.gms.safetynet.SafetyNetApi.AttestationResponse

Class Overview

Response from attest(byte[], String) that contains a Compatibility Test Suite attestation result.

Use the getStatus() method to obtain a Status object. Calling the Status object's isSuccess indicates whether or not communication with the service was successful, but does not indicate if the device has passed the compatibility check. If the request was successful, getJwsResult() may be used to determine whether the device has passed the compatibility check.

Summary

Public Constructors
SafetyNetApi.AttestationResponse()
Public Methods
String getJwsResult()
Gets the JSON Web Signature attestation result.
[Expand]
Inherited Methods
From class com.google.android.gms.common.api.Response
From class java.lang.Object

Public Constructors

public SafetyNetApi.AttestationResponse ()

Public Methods

public String getJwsResult ()

Gets the JSON Web Signature attestation result.

Result is in JSON Web Signature format. For a description on usage of this result, see Read the compatibility check response.

Returns
String JSON Web signature formatted attesation response or null if an error occurred.