Package org.gluu.oxauth.service.fido.u2f
Class RawAuthenticationService
- java.lang.Object
-
- org.gluu.oxauth.service.fido.u2f.RawAuthenticationService
-
@ApplicationScoped public class RawAuthenticationService extends java.lang.Object
Provides operations with U2F RAW authentication response- Author:
- Yuriy Movchan Date: 05/20/2015
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AUTHENTICATE_CANCEL_TYPE
static java.lang.String
AUTHENTICATE_GET_TYPE
static java.lang.String[]
SUPPORTED_AUTHENTICATE_TYPES
-
Constructor Summary
Constructors Constructor Description RawAuthenticationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkSignature(java.lang.String appId, ClientData clientData, RawAuthenticateResponse rawAuthenticateResponse, byte[] publicKey)
RawAuthenticateResponse
parseRawAuthenticateResponse(java.lang.String rawDataBase64)
-
-
-
Field Detail
-
AUTHENTICATE_GET_TYPE
public static final java.lang.String AUTHENTICATE_GET_TYPE
- See Also:
- Constant Field Values
-
AUTHENTICATE_CANCEL_TYPE
public static final java.lang.String AUTHENTICATE_CANCEL_TYPE
- See Also:
- Constant Field Values
-
SUPPORTED_AUTHENTICATE_TYPES
public static final java.lang.String[] SUPPORTED_AUTHENTICATE_TYPES
-
-
Method Detail
-
parseRawAuthenticateResponse
public RawAuthenticateResponse parseRawAuthenticateResponse(java.lang.String rawDataBase64)
-
checkSignature
public void checkSignature(java.lang.String appId, ClientData clientData, RawAuthenticateResponse rawAuthenticateResponse, byte[] publicKey) throws BadInputException
- Throws:
BadInputException
-
-