This class is deprecated.
Please use Fido
APIs instead.
An object representing a Security Key key handle and associated attributes.
Inherited Constant Summary
Public Constructor Summary
Public Method Summary
boolean | |
byte[] |
getBytes()
|
ProtocolVersion | |
List<Transport> | |
int | |
int |
hashCode()
|
static KeyHandle |
parseFromJson(JSONObject
registeredKey)
Parses a JSON object, which is assumed to be of a U2F signRequest or
registeredKey type, as a KeyHandle.
|
JSONObject |
toJson()
Create JSON representation of a KeyHandle.
|
String |
toString()
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Public Constructors
public KeyHandle (byte[] keyHandleBytes, ProtocolVersion protocolVersion, List<Transport> transports)
Public Methods
public boolean equals (Object obj)
public byte[] getBytes ()
public ProtocolVersion getProtocolVersion ()
public int getVersionCode ()
public int hashCode ()
public static KeyHandle parseFromJson (JSONObject registeredKey)
Parses a JSON object, which is assumed to be of a U2F signRequest or registeredKey type, as a KeyHandle.
Throws
JSONException | if the request is not well formed. |
---|
public JSONObject toJson ()
Create JSON representation of a KeyHandle.