A service to do registration of fido device.
More...
#include <mysql_authentication_registration.h>
|
| mysql_service_status_t(* | init )(unsigned char **outbuf, unsigned int outbuflen) |
| | This method performs initiate registration step. More...
|
| |
| mysql_service_status_t(* | finish )(unsigned char *buf, unsigned int buflen, const unsigned char *challenge, unsigned int challenge_length, unsigned char *challenge_response, unsigned int *challenge_response_length) |
| | This method performs finish registration step. More...
|
| |
| void(* | get_challenge_length )(unsigned int *outbuflen) |
| | This method calculates length of challenge required for server to allocate buffer which needs to be passed to init() to extract challenge. More...
|
| |
A service to do registration of fido device.
◆ finish
| mysql_service_status_t(* s_mysql_mysql_authentication_registration::finish) (unsigned char *buf, unsigned int buflen, const unsigned char *challenge, unsigned int challenge_length, unsigned char *challenge_response, unsigned int *challenge_response_length) |
This method performs finish registration step.
- Parameters
-
| [in] | buf | Buffer holding signed challenge |
| [in] | buflen | Length of signed challenge |
| [in] | challenge | Buffer to hold random challenge |
| [in] | challenge_length | Length of random challenge |
| [out] | challenge_response | Buffer to hold challenge response |
| [out] | challenge_response_length | Length of challenge response |
- Returns
- Return values
-
| FALSE | Succeeded. |
| TRUE | Failed. |
◆ get_challenge_length
| void(* s_mysql_mysql_authentication_registration::get_challenge_length) (unsigned int *outbuflen) |
This method calculates length of challenge required for server to allocate buffer which needs to be passed to init() to extract challenge.
- Parameters
-
| [out] | outbuflen | Buffer to hold length of challenge |
◆ init
| mysql_service_status_t(* s_mysql_mysql_authentication_registration::init) (unsigned char **outbuf, unsigned int outbuflen) |
This method performs initiate registration step.
- Parameters
-
| [out] | outbuf | Buffer to hold challenge |
| [in] | outbuflen | Length of buffer |
- Returns
- Return values
-
| FALSE | Succeeded. |
| TRUE | Failed. |
The documentation for this struct was generated from the following file: