RegisteredKey | Doclava
public class

RegisteredKey

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.fido.u2f.api.common.RegisteredKey

Class Overview

Represents a previously registered U2F Key.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
RegisteredKey(KeyHandle keyHandle, String challengeValue, String appId)
RegisteredKey(KeyHandle keyHandle)
Public Methods
boolean equals(Object obj)
Generated by Eclipse.
String getAppId()
String getChallengeValue()
KeyHandle getKeyHandle()
int hashCode()
Generated by Eclipse.
static RegisteredKey parseFromJson(JSONObject signRequest)
Parses a U2F sign request JSON object as a RegisteredKey.
JSONObject toJson()
Create JSON representation of a RegisteredKey.
String toString()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

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

Parameters
keyHandle KeyHandle
challengeValue String
appId String

public RegisteredKey (KeyHandle keyHandle)

Parameters
keyHandle KeyHandle

Public Methods

public boolean equals (Object obj)

Generated by Eclipse.

Parameters
obj Object
Returns
boolean

public String getAppId ()

Returns
String

public String getChallengeValue ()

Returns
String

public KeyHandle getKeyHandle ()

Returns
KeyHandle

public int hashCode ()

Generated by Eclipse.

Returns
int

See also:

public static RegisteredKey parseFromJson (JSONObject signRequest)

Parses a U2F sign request JSON object as a RegisteredKey.

Parameters
signRequest JSONObject
Returns
RegisteredKey
Throws
JSONException if the request is not well formed.

public JSONObject toJson ()

Create JSON representation of a RegisteredKey.

Returns
JSONObject

public String toString ()

Returns
String

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int