29#ifndef FIDO_REGISTRATION_H_
30#define FIDO_REGISTRATION_H_
This class is used to perform registration step on client side.
Definition: registration.h:50
This class is used to perform registration step on client side.
Definition: webauthn_registration.h:36
void set_client_data(const unsigned char *, const char *) override
Helper method to set client data context.
Definition: webauthn_registration.cc:222
webauthn_registration()
Definition: webauthn_registration.h:38
std::string get_client_data_json()
Definition: webauthn_registration.cc:324
bool parse_challenge(const char *challenge) override
Helper method to parse the challenge received from server during registration process.
Definition: webauthn_registration.cc:58
bool generate_signature() override
This method checks if a token device is available on client host.
Definition: webauthn_registration.cc:256
bool make_challenge_response(unsigned char *&buf) override
This method will extract authenticator data, signature, certificate from fido_cred_t struct,...
Definition: webauthn_registration.cc:129
size_t get_client_data_json_len()
Definition: webauthn_registration.cc:320
std::string m_client_data_json
Definition: webauthn_registration.h:47
Definition: buf0block_hint.cc:30
unsigned int libfido_device_id
The libfido "device" to use.
Definition: webauthn_client_plugin.cc:62