generateAssertion

suspend fun generateAssertion(secureArea: SecureArea, deviceAttestationId: String, assertion: Assertion): DeviceAssertion

An implementation of DeviceCheck.generateAssertion for DeviceAttestationSoftware.

Return

a DeviceAssertion which contains proof of assertion which can be sent to the party requesting the assertion.

Parameters

secureArea

must be the same value as was passed to generateAttestation method.

deviceAttestationId

the attestation id from the DeviceAttestationResult obtained from the generateAttestation call.

assertion

the assertion of make, e.g. AssertionNonce.