public class

TokenBindingIdValue

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.fido.fido2.api.common.TokenBindingIdValue

Class Overview

Represents the Token binding ID value associated with the caller origin.

The ID of the Token Binding established as a result of Token Binding message processing contains the identifier of the negotiated key parameters, the length (in bytes) of the Token Binding public key, and the Token Binding public key itself. The Token Binding ID can be obtained from the TokenBinding structure by discarding the Token Binding type, signature and extensions.

See also:

Summary

Nested Classes
enum TokenBindingIdValue.TokenBindingIdValueType The type of value stored by this TokenBindingIdValue. 
class TokenBindingIdValue.UnsupportedTokenBindingIdValueTypeException Exception thrown when an unsupported or unrecognized TokenBindingIdValueType is encountered. 
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final TokenBindingIdValue ABSENT Used to indicate there is no token binding ID.
public static final TokenBindingIdValue UNAVAILABLE Used to indicate the client is aware of token binding ID, but that the value of its public key is unknown to this U2F client.
public static final TokenBindingIdValue UNUSED Used to indicate the client is aware of Token binding ID, but has not used it with the server.
Public Constructors
TokenBindingIdValue(JSONObject value)
Public Methods
boolean equals(Object other)
JSONObject getObjectValue()
String getObjectValueAsString()
String getStringValue()
TokenBindingIdValue.TokenBindingIdValueType getType()
int getTypeAsInt()
int hashCode()
static TokenBindingIdValue.TokenBindingIdValueType toTokenBindingIdValueType(int type)
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final TokenBindingIdValue ABSENT

Used to indicate there is no token binding ID.

public static final TokenBindingIdValue UNAVAILABLE

Used to indicate the client is aware of token binding ID, but that the value of its public key is unknown to this U2F client.

public static final TokenBindingIdValue UNUSED

Used to indicate the client is aware of Token binding ID, but has not used it with the server.

Public Constructors

public TokenBindingIdValue (JSONObject value)

Parameters
value JSONObject

Public Methods

public boolean equals (Object other)

Parameters
other Object
Returns
boolean

public JSONObject getObjectValue ()

Returns
JSONObject

public String getObjectValueAsString ()

Returns
String

public String getStringValue ()

Returns
String

public int getTypeAsInt ()

Returns
int

public int hashCode ()

Returns
int

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int