AI-generated Key Takeaways
-
The
RegisteredKeyclass represents a previously registered U2F Key. -
This class is deprecated and developers should use Fido APIs instead.
-
RegisteredKeyimplements theParcelableinterface. -
The class includes constructors to create a
RegisteredKeywith aKeyHandleand optional challenge value and app ID. -
Public methods are available to access the app ID, challenge value, and key handle, as well as for JSON parsing and conversion.
This class is deprecated.
Please use Fido APIs instead.
Represents a previously registered U2F Key.
Inherited Constant Summary
Public Constructor Summary
|
RegisteredKey(KeyHandle
keyHandle)
|
Public Method Summary
| boolean | |
| String |
getAppId()
|
| String | |
| KeyHandle | |
| int |
hashCode()
Generated by Eclipse.
|
| static RegisteredKey | |
| JSONObject |
toJson()
|
| String |
toString()
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Public Constructors
public RegisteredKey (KeyHandle keyHandle)
Public Methods
public boolean equals (Object obj)
Generated by Eclipse.
See Also
public String getAppId ()
public String getChallengeValue ()
public KeyHandle getKeyHandle ()
public int hashCode ()
Generated by Eclipse.
See Also
public static RegisteredKey parseFromJson (JSONObject signRequest)
Parses a U2F sign request JSON object as a RegisteredKey.
Throws
| JSONException | if the request is not well formed. |
|---|