MySQL 8.0.40
Source Code Documentation
fido_assertion Class Reference

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
 

Detailed Description

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.

Member Function Documentation

◆ get_signed_challenge()

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.

◆ prepare_assert()

bool fido_assertion::prepare_assert ( const unsigned char *  challenge)

Helper method to prepare all context required to perform assertion.

◆ sign_challenge()

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.

Member Data Documentation

◆ m_fido_prepare_assert

fido_prepare_assert fido_assertion::m_fido_prepare_assert
private

The documentation for this class was generated from the following files: