RegisterRequest

public class RegisterRequest extends AbstractSafeParcelable

Represents a register request from the server.

Constant Summary

int U2F_V1_CHALLENGE_BYTE_LENGTH

Inherited Constant Summary

Public Constructor Summary

RegisterRequest(ProtocolVersion protocolVersion, byte[] challengeValue, String appId)

Public Method Summary

boolean
equals(Object obj)
Generated by Eclipse.
String
byte[]
ProtocolVersion
int
int
hashCode()
Generated by Eclipse.
static RegisterRequest
parseFromJson(JSONObject registerRequest)
Parses a U2F register request JSON object as a RegisterRequest.
JSONObject
toJson()
Create JSON representation of a RegisterRequest.
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Constants

public static final int U2F_V1_CHALLENGE_BYTE_LENGTH

Constant Value: 65

Public Constructors

public RegisterRequest (ProtocolVersion protocolVersion, byte[] challengeValue, String appId)

Public Methods

public boolean equals (Object obj)

Generated by Eclipse.

public String getAppId ()

public byte[] getChallengeValue ()

public ProtocolVersion getProtocolVersion ()

public int getVersionCode ()

public int hashCode ()

Generated by Eclipse.

See Also

public static RegisterRequest parseFromJson (JSONObject registerRequest)

Parses a U2F register request JSON object as a RegisterRequest.

Throws
JSONException if the input request is not well formed.

public JSONObject toJson ()

Create JSON representation of a RegisterRequest.

public void writeToParcel (Parcel dest, int flags)