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.ObjectProvides operations with U2F RAW authentication response- Author:
- Yuriy Movchan Date: 05/20/2015
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAUTHENTICATE_CANCEL_TYPEstatic java.lang.StringAUTHENTICATE_GET_TYPEstatic 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 voidcheckSignature(java.lang.String appId, ClientData clientData, RawAuthenticateResponse rawAuthenticateResponse, byte[] publicKey)RawAuthenticateResponseparseRawAuthenticateResponse(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
-
-