Package com.yubico.webauthn.data
Class AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
java.lang.Object
com.yubico.webauthn.data.AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
- Enclosing class:
- AuthenticatorAssertionResponse
public static class AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionauthenticatorData
(@NonNull ByteArray authenticatorData) build()
clientDataJSON
(@NonNull ByteArray clientDataJSON) toString()
userHandle
(@NonNull Optional<ByteArray> userHandle) The user handle returned from the authenticator, or empty if the authenticator did not return a user handle.userHandle
(ByteArray userHandle) The user handle returned from the authenticator, or empty if the authenticator did not return a user handle.
-
Method Details
-
userHandle
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder userHandle(@NonNull @NonNull Optional<ByteArray> userHandle) The user handle returned from the authenticator, or empty if the authenticator did not return a user handle. See §6.3.3 The authenticatorGetAssertion Operation. -
userHandle
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder userHandle(ByteArray userHandle) The user handle returned from the authenticator, or empty if the authenticator did not return a user handle. See §6.3.3 The authenticatorGetAssertion Operation. -
authenticatorData
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder authenticatorData(@NonNull @NonNull ByteArray authenticatorData) - Returns:
this
.
-
clientDataJSON
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder clientDataJSON(@NonNull @NonNull ByteArray clientDataJSON) - Returns:
this
.
-
signature
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder signature(@NonNull @NonNull ByteArray signature) - Returns:
this
.
-
build
- Throws:
IOException
Base64UrlException
-
toString
-