DeviceAttestation

sealed class DeviceAttestation

A platform-issued statement vouching for the integrity of an application.

Validity checks are cross-platform, as we need to be able to run them on the server (e.g. one does not have to be on iOS to validate DeviceAttestationIos).

For platforms without dedicated support, DeviceAttestationSoftware exists which relies on the ability of the application to prove that it possesses a secret.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun validate(validationData: DeviceAttestationValidationData, validateAt: Instant = Clock.System.now())

Check the validity of this DeviceAttestation.

Link copied to clipboard
abstract suspend fun validateAssertion(assertion: DeviceAssertion)

Check the validity of assertion in the context of this DeviceAttestation.