Attestation info Data Type

The latest information about the attestation performed by an application.

Properties
Name Type Description
type string Possible attestation types for device (SAFETYNET, HARDWARE_KEY, APP_INTEGRITY).
lastAttestationResponseReceived string The latest date when the application performed attestation.
status string The status of the attestation performed by the application. possible values: SUCCESS, FAILURE, APP_LEVEL_FAILURE, APP_GRACE_PERIOD_FAILURE
result string Application attestation result, that could contain certificate extension data.

For more information about the definition of the certificate extension values, see the reference in the Attestation extension.

lastAttestationCode string The last status of the attestation performed by the application. This field is common for all attestation types, but now it is filled out only for App Integrity attestation. Last status code of App Integrity attestation.
subStatus string The sub status of the attestation performed by the application.

Example

{
  "type" : "HARDWARE_KEY",
  "lastAttestationResponseReceived" : "2017-01-23T10:02:12.340Z",
  "status" : "SUCCESS",
  "result" : "Sequence (CertificateExtensionData) {  Integer (1)  Enumerated (TrustedEnvironment(1))  Integer (2)  Enumerated (TrustedEnvironment(1))  OctetString (    43 37 44 32 42 37 32 37  2d 30 31 32 39 2d 34 45    31 43 2d 42 34 43 30 2d  41 46 33 30 37 43 41 32    32 42 46 42  )  OctetString (  )  Sequence (AuthorizationList) {    [701] Integer (1543243108724)    [709] OctetString (      30 5a 31 34 30 32 04 2d  63 6f 6d 2e 67 6f 6f 64      2e 67 64 2e 65 78 61 6d  70 6c 65 2e 73 65 72 76      69 63 65 73 2e 67 72 65  65 74 69 6e 67 73 2e 63      6c 69 65 6e 74 02 01 04  31 22 04 20 64 1d 0a f8      f1 e4 ae 62 49 9e 5a ef  01 e1 30 dd 70 99 2c 73      1e 00 da ec 49 59 42 6f  03 63 8a e7    )  }  Sequence (AuthorizationList) {    [1] Set (IntegerSetOf) {      Integer (1)      Integer (2)    }    [2] Integer (1)    [3] Integer (2048)    [5] Set (IntegerSetOf) {      Integer (4)    }    [6] Set (IntegerSetOf) {      Integer (2)    }    [200] Integer (65537)    [503] Null    [702] Integer (0)    [704] Sequence (RootOfTrust) {      OctetString (        33 d9 48 4f d5 12 e6 10  bc f0 0c 50 28 27 f3 d5        5a 41 50 88 f2 76 c6 50  66 57 21 5e 62 2f a7 70      )      Boolean (true)      Enumerated (Verified(0))    }    [705] Integer (80000)    [706] Integer (201805)  }}",
  "lastAttestationCode" : "SUCCESS",
  "subStatus" : "APP_GRACE_PERIOD_FAILURE_ACTIVE_CONTAINER"
}