Home
last modified time | relevance | path

Searched refs:clientJson (Results 1 – 4 of 4) sorted by relevance

/credentials/credentials/src/main/java/androidx/credentials/webauthn/
DAuthenticatorAssertionResponse.kt36 override var clientJson = JSONObject() variable in androidx.credentials.webauthn.AuthenticatorAssertionResponse
41 clientJson.put("type", "webauthn.get")
42 clientJson.put("challenge", WebAuthnUtils.b64Encode(requestOptions.challenge))
43 clientJson.put("origin", origin)
45 clientJson.put("androidPackageName", packageName)
77 hash = md.digest(clientJson.toString().toByteArray()) in dataToSign()
84 val clientData = clientJson.toString().toByteArray() in json()
DAuthenticatorAttestationResponse.kt37 override var clientJson = JSONObject() variable in androidx.credentials.webauthn.AuthenticatorAttestationResponse
41 clientJson.put("type", "webauthn.create")
42 clientJson.put("challenge", WebAuthnUtils.b64Encode(requestOptions.challenge))
43 clientJson.put("origin", origin)
45 clientJson.put("androidPackageName", packageName)
96 val clientData = clientJson.toString().toByteArray() in json()
DAuthenticatorResponse.kt24 var clientJson: JSONObject variable
/credentials/credentials/src/androidTest/java/androidx/credentials/webauthn/
DFidoPublicKeyCredentialTest.kt31 override var clientJson = JSONObject() variable in androidx.credentials.webauthn.FidoPublicKeyCredentialTest.TestAuthenticatorResponse