AttestationClient
Mobile client, fetching attestation challenges and posting CSRs containing attestation statements to an attestation verification endpoint.
Based on a Ktor client. Automatically installs JSON content negotiation.
Functions
Link copied to clipboard
Posts a csr containing an attestation challenge, as created by createAttestationProof.
Link copied to clipboard
Fetches a challenge from an endpoint. This is the first step in an attestation ceremony. This will fail if the system time is off too much:
Link copied to clipboard
suspend fun AttestationClient.performAttestationFlow(alias: String, fetchChallengeEndpoint: Url, authPromptMessage: String? = null, authPromptCancelText: String? = null): AttestationResponse
Truly integrated attestation in a single call.