MySQL 8.4.2
Source Code Documentation
s_mysql_mysql_authentication_registration Struct Reference

A service to do registration of fido device. More...

#include <mysql_authentication_registration.h>

Public Attributes

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...
 

Detailed Description

A service to do registration of fido device.

Member Data Documentation

◆ 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]bufBuffer holding signed challenge
[in]buflenLength of signed challenge
[in]challengeBuffer to hold random challenge
[in]challenge_lengthLength of random challenge
[out]challenge_responseBuffer to hold challenge response
[out]challenge_response_lengthLength of challenge response
Returns
Return values
FALSESucceeded.
TRUEFailed.

◆ 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]outbuflenBuffer 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]outbufBuffer to hold challenge
[in]outbuflenLength of buffer
Returns
Return values
FALSESucceeded.
TRUEFailed.

The documentation for this struct was generated from the following file: