Class RawAuthenticationService


  • @Named
    public class RawAuthenticationService
    extends java.lang.Object
    Provides operations with U2F RAW authentication response
    Author:
    Yuriy Movchan Date: 05/20/2015
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • RawAuthenticationService

        public RawAuthenticationService()
    • 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