Class RawAuthenticationService
- java.lang.Object
-
- io.jans.as.server.service.fido.u2f.RawAuthenticationService
-
@Named 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, io.jans.as.model.fido.u2f.protocol.ClientData clientData, io.jans.as.model.fido.u2f.message.RawAuthenticateResponse rawAuthenticateResponse, byte[] publicKey)
io.jans.as.model.fido.u2f.message.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 io.jans.as.model.fido.u2f.message.RawAuthenticateResponse parseRawAuthenticateResponse(java.lang.String rawDataBase64)
-
checkSignature
public void checkSignature(java.lang.String appId, io.jans.as.model.fido.u2f.protocol.ClientData clientData, io.jans.as.model.fido.u2f.message.RawAuthenticateResponse rawAuthenticateResponse, byte[] publicKey) throws io.jans.as.model.fido.u2f.exception.BadInputException
- Throws:
io.jans.as.model.fido.u2f.exception.BadInputException
-
-