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.
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
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
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. |
[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()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
Used to indicate there is no token binding ID.
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.
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)
public
JSONObject
getObjectValue
()
public
String
getObjectValueAsString
()
public
String
getStringValue
()
public
int
getTypeAsInt
()
public
void
writeToParcel
(Parcel dest, int flags)
Parameters |
dest |
Parcel |
flags |
int |