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 classAuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilderauthenticatorData(@NonNull ByteArray authenticatorData)AuthenticatorAssertionResponsebuild()AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilderclientDataJSON(@NonNull ByteArray clientDataJSON)AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuildersignature(@NonNull ByteArray signature)java.lang.StringtoString()AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilderuserHandle(@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.AuthenticatorAssertionResponseBuilderuserHandle(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)
-
clientDataJSON
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder clientDataJSON(@NonNull @NonNull ByteArray clientDataJSON)
-
signature
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder signature(@NonNull @NonNull ByteArray signature)
-
build
public AuthenticatorAssertionResponse build() throws java.io.IOException, Base64UrlException
- Throws:
java.io.IOExceptionBase64UrlException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-