Package com.yubico.webauthn.data
Interface AuthenticatorResponse
-
- All Known Implementing Classes:
AuthenticatorAssertionResponse,AuthenticatorAttestationResponse
public interface AuthenticatorResponseAuthenticators respond to Relying Party requests by returning an object derived from theAuthenticatorResponseinterface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ByteArraygetAuthenticatorData()The authenticator data returned by the authenticator.CollectedClientDatagetClientData()getClientDataJSON()parsed as a domain object.ByteArraygetClientDataJSON()The JSON-serialized client data (see §5.10.1 Client Data Used in WebAuthn Signatures (dictionaryCollectedClientData)) passed to the authenticator by the client in the call to eithernavigator.credentials.create()ornavigator.credentials.get().default AuthenticatorDatagetParsedAuthenticatorData()getAuthenticatorData()parsed as a domain object.
-
-
-
Method Detail
-
getAuthenticatorData
ByteArray getAuthenticatorData()
The authenticator data returned by the authenticator. See §6.1 Authenticator Data.
-
getParsedAuthenticatorData
default AuthenticatorData getParsedAuthenticatorData()
getAuthenticatorData()parsed as a domain object.
-
getClientDataJSON
ByteArray getClientDataJSON()
The JSON-serialized client data (see §5.10.1 Client Data Used in WebAuthn Signatures (dictionaryCollectedClientData)) passed to the authenticator by the client in the call to eithernavigator.credentials.create()ornavigator.credentials.get(). The exact JSON serialization MUST be preserved, as the hash of the serialized client data has been computed over it.
-
getClientData
CollectedClientData getClientData()
getClientDataJSON()parsed as a domain object.
-
-