public final class AuthenticatorAssertionResponse extends java.lang.Object implements AuthenticatorResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder |
| Modifier and Type | Method and Description |
|---|---|
static AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder.MandatoryStages |
builder() |
boolean |
equals(java.lang.Object o) |
@NonNull ByteArray |
getAuthenticatorData()
The authenticator data returned by the authenticator.
|
@NonNull CollectedClientData |
getClientData()
AuthenticatorResponse.getClientDataJSON() parsed as a domain object. |
@NonNull ByteArray |
getClientDataJSON()
The JSON-serialized client data (see §5.10.1
Client Data Used in WebAuthn Signatures (dictionary
CollectedClientData)) passed to the authenticator
by the client in the call to either navigator.credentials.create() or
navigator.credentials.get(). |
@NonNull ByteArray |
getSignature()
The raw signature returned from the authenticator.
|
@NonNull java.util.Optional<ByteArray> |
getUserHandle()
The user handle returned from the authenticator, or empty if the authenticator did not return a user handle.
|
int |
hashCode() |
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder |
toBuilder() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParsedAuthenticatorDatapublic static AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder.MandatoryStages builder()
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder toBuilder()
@NonNull public @NonNull ByteArray getSignature()
@NonNull public @NonNull java.util.Optional<ByteArray> getUserHandle()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object@NonNull public @NonNull ByteArray getAuthenticatorData()
AuthenticatorResponsegetAuthenticatorData in interface AuthenticatorResponse@NonNull public @NonNull ByteArray getClientDataJSON()
AuthenticatorResponseCollectedClientData)) passed to the authenticator
by the client in the call to either navigator.credentials.create() or
navigator.credentials.get(). The exact JSON serialization MUST be preserved, as the hash of the
serialized client data has been computed over it.getClientDataJSON in interface AuthenticatorResponse@NonNull public @NonNull CollectedClientData getClientData()
AuthenticatorResponseAuthenticatorResponse.getClientDataJSON() parsed as a domain object.getClientData in interface AuthenticatorResponse