Package com.yubico.webauthn.data
Class CollectedClientData
java.lang.Object
com.yubico.webauthn.data.CollectedClientData
The client data represents the contextual bindings of both the Relying Party and the client.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@NonNull ByteArray
The base64url encoding of the challenge provided by the Relying Party.@NonNull String
The fully qualified origin of the requester, as provided to the authenticator by the client, in the syntax defined by RFC 6454.final Optional<TokenBindingInfo>
Information about the state of the Token Binding protocol used when communicating with the Relying Party.@NonNull String
getType()
The type of the requested operation, set by the client.int
hashCode()
toString()
-
Constructor Details
-
CollectedClientData
public CollectedClientData(@NonNull @NonNull ByteArray clientDataJSON) throws IOException, Base64UrlException - Throws:
IOException
Base64UrlException
-
-
Method Details
-
getTokenBinding
Information about the state of the Token Binding protocol used when communicating with the Relying Party. Its absence indicates that the client doesn't support token binding. -
getChallenge
The base64url encoding of the challenge provided by the Relying Party. See the §13.1 Cryptographic Challenges security consideration. -
getOrigin
The fully qualified origin of the requester, as provided to the authenticator by the client, in the syntax defined by RFC 6454. -
getType
The type of the requested operation, set by the client. -
equals
-
hashCode
public int hashCode() -
toString
-