40#define BASE64_CHALLENGE_LENGTH 45
45 char *
buffer,
const unsigned int buffer_len);
66 const unsigned int *optional_arg_size =
nullptr);
73bool generate_sha256(
const unsigned char *in_key,
unsigned int in_key_length,
74 unsigned char *hash,
unsigned int &hash_length);
input_type
Definition: common.h:56
void url_compatible_base64(char *url_compatible_str, size_t len, char *base64_str)
Helper method to convert base64 string to url safe base64.
Definition: common.cc:111
plugin_messages_callback mc
Definition: webauthn_client_plugin.cc:55
int(* plugin_messages_callback_get_uint)(unsigned int *val)
Definition: common.h:43
int(* plugin_messages_callback_get_password)(char *buffer, const unsigned int buffer_len)
Definition: common.h:44
message_type
Definition: common.h:51
int get_user_input(const std::string &msg, input_type type, void *arg, const unsigned int *optional_arg_size=nullptr)
Definition: common.cc:61
plugin_messages_callback_get_password mc_get_password
Definition: webauthn_client_plugin.cc:57
bool generate_sha256(const unsigned char *in_key, unsigned int in_key_length, unsigned char *hash, unsigned int &hash_length)
Definition: common.cc:130
plugin_messages_callback_get_uint mc_get_uint
Definition: webauthn_client_plugin.cc:56
void get_plugin_messages(const std::string &msg, message_type type)
Definition: common.cc:43
void(* plugin_messages_callback)(const char *msg)
Definition: common.h:42
Functions for reading and storing in machine-independent format.
Some integer typedefs for easier portability.
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
required string type
Definition: replication_group_member_actions.proto:34