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 | |
String | toString
()
|
void |
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
if the request is not well formed.
public JSONObject toJson ()
Create JSON representation of a KeyHandle.