Package org.gluu.oxauth.service.fido.u2f
Class RawRegistrationService
java.lang.Object
org.gluu.oxauth.service.fido.u2f.RawRegistrationService
Provides operations with U2F RAW registration response
- Author:
- Yuriy Movchan Date: 05/20/2015
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcheckSignature(String appId, ClientData clientData, RawRegisterResponse rawRegisterResponse) createDevice(String userInum, RawRegisterResponse rawRegisterResponse) parseDer(InputStream is) parseRawRegisterResponse(String rawDataBase64) 
- 
Field Details- 
REGISTRATION_RESERVED_BYTE_VALUEpublic static final byte REGISTRATION_RESERVED_BYTE_VALUE- See Also:
 
- 
REGISTRATION_SIGNED_RESERVED_BYTE_VALUEpublic static final byte REGISTRATION_SIGNED_RESERVED_BYTE_VALUE- See Also:
 
- 
INITIAL_DEVICE_COUNTER_VALUEpublic static final long INITIAL_DEVICE_COUNTER_VALUE- See Also:
 
- 
REGISTER_FINISH_TYPE- See Also:
 
- 
REGISTER_CANCEL_TYPE- See Also:
 
- 
SUPPORTED_REGISTER_TYPES
 
- 
- 
Constructor Details- 
RawRegistrationServicepublic RawRegistrationService()
 
- 
- 
Method Details- 
parseRawRegisterResponse- Throws:
- BadInputException
 
- 
parseDerpublic X509Certificate parseDer(InputStream is) throws CertificateException, NoSuchProviderException 
- 
checkSignaturepublic void checkSignature(String appId, ClientData clientData, RawRegisterResponse rawRegisterResponse) throws BadInputException - Throws:
- BadInputException
 
- 
createDevicepublic DeviceRegistration createDevice(String userInum, RawRegisterResponse rawRegisterResponse) throws BadInputException - Throws:
- BadInputException
 
 
-