RegisteredKey

  • The RegisteredKey class represents a previously registered U2F Key.

  • This class is deprecated and developers should use Fido APIs instead.

  • RegisteredKey implements the Parcelable interface.

  • The class includes constructors to create a RegisteredKey with a KeyHandle and 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.

public class RegisteredKey extends Object
implements Parcelable

This class is deprecated.
Please use Fido APIs instead.

Represents a previously registered U2F Key.

Inherited Constant Summary

Public Constructor Summary

RegisteredKey(KeyHandle keyHandle, String challengeValue, String appId)

Public Method Summary

boolean
equals(Object obj)
Generated by Eclipse.
String
String
KeyHandle
int
hashCode()
Generated by Eclipse.
static RegisteredKey
parseFromJson(JSONObject signRequest)
Parses a U2F sign request JSON object as a RegisteredKey.
JSONObject
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Constructors

public RegisteredKey (KeyHandle keyHandle, String challengeValue, String appId)

public RegisteredKey (KeyHandle keyHandle)

Public Methods

public boolean equals (Object obj)

Generated by Eclipse.

public String getAppId ()

public String getChallengeValue ()

public KeyHandle getKeyHandle ()

public int hashCode ()

Generated by Eclipse.

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.

public JSONObject toJson ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)