java.lang.Object |
↳ |
com.google.android.gms.fido.u2f.api.common.ClientData |
Class Overview
ClientData is sent from the FIDO Client to the relying party, and its hash will be sent back from
the relying party to the Client for verifying the signature on both registration and
authentication responses.
The registration and authentication request messages contain a challenge parameter, which is
defined as the SHA-256 hash of a (UTF8 representation of a) stringified JSON data structure that
the FIDO client has to prepare. The FIDO Client must send the Client Data to the relying party
during the verification phase, where the relying party can regenerate the challenge parameter (by
hashing the client data), which is necessary in order to verify the signature both on the
registration response message and authentication response message.
Summary
Nested Classes |
class |
ClientData.Builder |
Builder for ClientData . |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Constants
public
static
final
String
KEY_CHALLENGE
Constant Value:
"challenge"
public
static
final
String
KEY_CID_PUBKEY
Constant Value:
"cid_pubkey"
public
static
final
String
KEY_ORIGIN
public
static
final
String
KEY_TYPE
public
static
final
String
TYPE_FINISH_ENROLLMENT
Constant Value:
"navigator.id.finishEnrollment"
public
static
final
String
TYPE_GET_ASSERTION
Constant Value:
"navigator.id.getAssertion"
Public Methods
public
boolean
equals
(Object other)
public
String
toJsonString
()
Returns |
String |
The stringified JSON object encoding of this ClientData object. |