摘要 |
Provided are a method and device for performing registration based on an authentication device. The method comprises: a client acquiring a uniform resource identifier, obtaining an application ID according to the uniform resource identifier, and sending to a server a device registration request obtained according to the application ID and a user identifier input by a user; receiving registration data returned by the server, and obtaining a client data object according to a challenge value in the registration data and the application ID; respectively performing a hash operation on the client data object and the application ID, so as to obtain a challenge parameter and an application parameter, and sending registration request information composed of the challenge parameter and the application parameter to an authentication device; receiving registration response information returned by the authentication device, and sending to the server a key registration request composed of the registration response information, the client data object and a session ID in the registration data; and receiving information returned by the server, and determining whether the information is success information, if so, determining that the registration succeeds, and otherwise, determining that the registration fails. |