MySQL 8.0.40
Source Code Documentation
|
Class to initiate authentication(aka assertion in FIDO terminology) on client side by generating a signed signature by FIDO device which needs to be sent to server to be verified. More...
#include <fido_assertion.h>
Public Member Functions | |
bool | prepare_assert (const unsigned char *challenge) |
Helper method to prepare all context required to perform assertion. More... | |
bool | sign_challenge () |
Helper method to sign the challenge received from server side FIDO plugin during authentication, and send signed challenge back to server side plugin, only if FIDO device successfully verifies the challenge, else report an error. More... | |
void | get_signed_challenge (unsigned char **challenge_res, size_t &challenge_res_len) |
Helper method to prepare challenge response to be passed to server. More... | |
Private Attributes | |
fido_prepare_assert | m_fido_prepare_assert |
Class to initiate authentication(aka assertion in FIDO terminology) on client side by generating a signed signature by FIDO device which needs to be sent to server to be verified.
void fido_assertion::get_signed_challenge | ( | unsigned char ** | challenge_res, |
size_t & | challenge_res_len | ||
) |
Helper method to prepare challenge response to be passed to server.
bool fido_assertion::prepare_assert | ( | const unsigned char * | challenge | ) |
Helper method to prepare all context required to perform assertion.
bool fido_assertion::sign_challenge | ( | ) |
Helper method to sign the challenge received from server side FIDO plugin during authentication, and send signed challenge back to server side plugin, only if FIDO device successfully verifies the challenge, else report an error.
|
private |