ChannelIdValue

public class ChannelIdValue extends Object
implements Parcelable

This class is deprecated.
Please use Fido APIs instead.

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.

See //fidoalliance.org/specs/fido-u2f-v1.0-ps-20141009/fido-u2f-raw-message-formats-ps-20141009.html#client-data

Nested Class Summary

enum ChannelIdValue.ChannelIdValueType The type of value stored by this ChannelIdValue. 
class ChannelIdValue.UnsupportedChannelIdValueTypeException Exception thrown when an unsupported or unrecognized ChannelIdValueType is encountered. 

Inherited Constant Summary

Field Summary

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.

Public Constructor Summary

Public Method Summary

boolean
equals(Object other)
JSONObject
String
String
ChannelIdValue.ChannelIdValueType
int
int
static ChannelIdValue.ChannelIdValueType
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

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.

Public Constructors

public ChannelIdValue (JSONObject value)

Public Methods

public boolean equals (Object other)

public JSONObject getObjectValue ()

public String getObjectValueAsString ()

public String getStringValue ()

public int getTypeAsInt ()

public int hashCode ()

public void writeToParcel (Parcel dest, int flags)