Functions
abstract fun validateAssertion(validatedAttestation: ValidatedAttestation, assertion: ByteArray, referenceClientData: ByteArray, expectedChallenge: ByteArray, lastSeenCounter: Long, maxCounterAdvance: Long = Long.MAX_VALUE): Result<Assertion>
Verifies an assertion over arbitrary client data, tied to a previously stored attestation.
Verifies an assertion whose entire client data is expectedChallenge, tied to validatedAttestation.
convenience method specific to iOS, which only verifies App Attestation and no assertion
Verifies an assertion whose entire client data is expectedChallenge, tied to a previously stored attestation. The client must have passed SHA-256(expectedChallenge) as clientDataHash to generateAssertion. The challenge is not stored inside the assertion; signature verification cryptographically binds the assertion to expectedChallenge.
Verifies an assertion over arbitrary client data, tied to a previously stored attestation.
Verifies an App Attestation in conjunction with an assertion for some client data.