29#ifndef WEBAUTHN_ASSERTION_H_
30#define WEBAUTHN_ASSERTION_H_
46 size_t &challenge_res_len)
override;
Class to initiate authentication(aka assertion in FIDO terminology) on client side by generating a si...
Definition: assertion.h:40
Class to initiate authentication(aka assertion in FIDO terminology) on client side by generating a si...
Definition: webauthn_assertion.h:41
std::string m_client_data_json
Definition: webauthn_assertion.h:59
bool check_fido2_device(bool &is_fido2)
This method is called by webauthn_authentication_client plugin to check if the token device present o...
Definition: webauthn_assertion.cc:274
webauthn_assertion(bool preserve_privacy)
Definition: webauthn_assertion.h:43
std::string get_client_data_json()
Definition: webauthn_assertion.cc:299
bool sign_challenge() override
Method to obtains an assertion from a FIDO device.
Definition: webauthn_assertion.cc:146
size_t get_client_data_json_len()
Definition: webauthn_assertion.cc:295
bool get_signed_challenge(unsigned char **challenge_res, size_t &challenge_res_len) override
This method will construct challenge response which is passed to server.
Definition: webauthn_assertion.cc:98
bool select_credential_id()
Select credential ID from a list of resident keys and set it for assertion.
Definition: webauthn_assertion.cc:310
void set_client_data(const unsigned char *, const char *) override
Helper method to set client data context.
Definition: webauthn_assertion.cc:192
bool parse_challenge(const unsigned char *challenge) override
Helper method to parse the challenge received from server during authentication process.
Definition: webauthn_assertion.cc:231
bool m_preserve_privacy
Definition: webauthn_assertion.h:60
size_t calculate_client_response_length()
This method will calculate length of the buffer required for challenge response.
Definition: webauthn_assertion.cc:55
static bool preserve_privacy
Definition: webauthn_client_plugin.cc:44