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 java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
authenticatorData(@NonNull ByteArray authenticatorData)
AuthenticatorAssertionResponse
build()
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
clientDataJSON(@NonNull ByteArray clientDataJSON)
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
signature(@NonNull ByteArray signature)
java.lang.String
toString()
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
userHandle(@NonNull java.util.Optional<ByteArray> userHandle)
The user handle returned from the authenticator, or empty if the authenticator did not return a user handle.AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
userHandle(ByteArray userHandle)
The user handle returned from the authenticator, or empty if the authenticator did not return a user handle.
-
-
-
Method Detail
-
userHandle
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder userHandle(@NonNull @NonNull java.util.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
public AuthenticatorAssertionResponse build() throws java.io.IOException, Base64UrlException
- Throws:
java.io.IOException
Base64UrlException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-