public class AuthenticateRequestData
extends com.yubico.u2f.data.messages.json.JsonSerializable
implements com.yubico.u2f.data.messages.json.Persistable
| Constructor and Description |
|---|
AuthenticateRequestData(String appId,
Iterable<? extends DeviceRegistration> devices,
U2fPrimitives u2f,
com.yubico.u2f.crypto.ChallengeGenerator challengeGenerator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AuthenticateRequestData |
fromJson(String json) |
AuthenticateRequest |
getAuthenticateRequest(AuthenticateResponse response) |
List<AuthenticateRequest> |
getAuthenticateRequests() |
String |
getRequestId() |
int |
hashCode() |
fromJson, toJson, toStringpublic AuthenticateRequestData(String appId, Iterable<? extends DeviceRegistration> devices, U2fPrimitives u2f, com.yubico.u2f.crypto.ChallengeGenerator challengeGenerator) throws U2fBadInputException, NoEligableDevicesException
public List<AuthenticateRequest> getAuthenticateRequests()
public AuthenticateRequest getAuthenticateRequest(AuthenticateResponse response) throws U2fBadInputException
U2fBadInputExceptionpublic String getRequestId()
getRequestId in interface com.yubico.u2f.data.messages.json.Persistablepublic static AuthenticateRequestData fromJson(String json) throws U2fBadInputException
U2fBadInputExceptionCopyright © 2015 Yubico. All Rights Reserved.