AI-generated Key Takeaways
-
The KeyHandle class represents a Security Key key handle and associated attributes but is deprecated.
-
Developers should use Fido APIs instead of the deprecated KeyHandle class.
-
The KeyHandle class implements the Parcelable interface, allowing it to be passed between components.
-
KeyHandle objects can be parsed from and converted to JSON format.
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
public JSONObject toJson ()
Create JSON representation of a KeyHandle.

