Package io.jans.fido2.service.sg
Class RawRegistrationService
- java.lang.Object
-
- io.jans.fido2.service.sg.RawRegistrationService
-
@ApplicationScoped public class RawRegistrationService extends Object
Provides operations with U2F RAW registration response- Author:
- Yuriy Movchan Date: 05/20/2015
-
-
Field Summary
Fields Modifier and Type Field Description static long
INITIAL_DEVICE_COUNTER_VALUE
static String
REGISTER_CANCEL_TYPE
static String
REGISTER_FINISH_TYPE
static byte
REGISTRATION_RESERVED_BYTE_VALUE
static byte
REGISTRATION_SIGNED_RESERVED_BYTE_VALUE
static String[]
SUPPORTED_REGISTER_TYPES
-
Constructor Summary
Constructors Constructor Description RawRegistrationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description X509Certificate
parseDer(InputStream is)
io.jans.as.model.fido.u2f.message.RawRegisterResponse
parseRawRegisterResponse(String rawDataBase64)
-
-
-
Field Detail
-
REGISTRATION_RESERVED_BYTE_VALUE
public static final byte REGISTRATION_RESERVED_BYTE_VALUE
- See Also:
- Constant Field Values
-
REGISTRATION_SIGNED_RESERVED_BYTE_VALUE
public static final byte REGISTRATION_SIGNED_RESERVED_BYTE_VALUE
- See Also:
- Constant Field Values
-
INITIAL_DEVICE_COUNTER_VALUE
public static final long INITIAL_DEVICE_COUNTER_VALUE
- See Also:
- Constant Field Values
-
REGISTER_FINISH_TYPE
public static final String REGISTER_FINISH_TYPE
- See Also:
- Constant Field Values
-
REGISTER_CANCEL_TYPE
public static final String REGISTER_CANCEL_TYPE
- See Also:
- Constant Field Values
-
SUPPORTED_REGISTER_TYPES
public static final String[] SUPPORTED_REGISTER_TYPES
-
-
Method Detail
-
parseRawRegisterResponse
public io.jans.as.model.fido.u2f.message.RawRegisterResponse parseRawRegisterResponse(String rawDataBase64) throws io.jans.as.model.fido.u2f.exception.BadInputException
- Throws:
io.jans.as.model.fido.u2f.exception.BadInputException
-
parseDer
public X509Certificate parseDer(InputStream is) throws CertificateException, NoSuchProviderException
-
-