API reference

DeviceApplicationIntegrity Class

Modifiers: final
The Device Application Integrity API is a key function for developers committed to protecting their applications from unauthorized modifications and potential security breaches. Leveraging this API can greatly enhance the security of your applications, ensuring a seamless and safe user experience. See more details here.

Signature

class DeviceApplicationIntegrity

Constructors

DeviceApplicationIntegrity ()
Signature
constructor()
Returns
DeviceApplicationIntegrity

Methods

getIntegrityToken ( challengeNonce )
Returns Device and Application Integrity Attestation JSON Web Token. The token has format of header.claims.signature encoded in base64. Header contains algorithm type (PS256) and token type (JWT). See more details here.
This method can return the following status codes: common status codes in DeviceApplicationIntegrityStatusCode.
Signature
suspend fun getIntegrityToken(challengeNonce: String): String
Parameters
challengeNonce: String
Returns
String  A string that represents the attestation token.