java.lang.Object |
↳ |
com.google.android.gms.fido.u2f.api.common.ChannelIdValue |
Class Overview
The Channel ID value used by the browser to communicate with the origin.
This parameter is optional, and missing if the browser doesn't support Channel ID. It is
present and set to the constant 'unused' if the browser supports Channel ID, but is not using
Channel ID to talk to the origin.
Summary
Nested Classes |
enum |
ChannelIdValue.ChannelIdValueType |
The type of value stored by this ChannelIdValue. |
class |
ChannelIdValue.UnsupportedChannelIdValueTypeException |
Exception thrown when an unsupported or unrecognized ChannelIdValueType is encountered. |
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
Fields |
public
static
final
ChannelIdValue |
ABSENT |
Used to indicate there is no TLS channel ID. |
public
static
final
ChannelIdValue |
UNAVAILABLE |
Used to indicate the client is aware of TLS channel ID, but that the value of its public key is
unknown to this U2F client. |
public
static
final
ChannelIdValue |
UNUSED |
Used to indicate the client is aware of TLS channel 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 TLS channel ID.
public
static
final
ChannelIdValue
UNAVAILABLE
Used to indicate the client is aware of TLS channel ID, but that the value of its public key is
unknown to this U2F client.
Used to indicate the client is aware of TLS channel ID, but has not used it with the server.
Public Constructors
public
ChannelIdValue
(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 |