29#ifndef FIDO_REGISTRATION_H_
30#define FIDO_REGISTRATION_H_
A wrapper class which abstracts all access to FIDO device.
Definition: fido_registration.h:37
bool generate_signature()
This method checks if a token device is available on client host.
Definition: fido_registration.cc:131
const char * get_rp_id()
Method to get rp id.
Definition: fido_registration.cc:320
void set_scramble(unsigned char *, size_t)
Set method to set 32 bit random salt.
Definition: fido_registration.cc:234
void set_type(int type=COSE_ES256)
Method to set the algorithm type.
Definition: fido_registration.cc:254
void set_rp_id(std::string rp_id)
Method to set the relying party name or id.
Definition: fido_registration.cc:261
bool make_credentials(const char *challenge)
This method fills in all information required to initiate registration process.
Definition: fido_registration.cc:64
size_t get_sig_len()
Method to get length of signature.
Definition: fido_registration.cc:288
size_t get_x5c_len()
Method to get length of x509 certificate.
Definition: fido_registration.cc:304
const unsigned char * get_x5c_ptr()
Method to get x509 certificate.
Definition: fido_registration.cc:311
bool parse_challenge(const char *challenge)
Helper method to parse the challenge received from server during registration process.
Definition: fido_registration.cc:78
fido_cred_t * m_cred
Definition: fido_registration.h:73
void set_user(std::string user)
Set method to set user name.
Definition: fido_registration.cc:243
fido_make_cred()
Construcutor to allocate memory for performing attestation (registration)
Definition: fido_registration.cc:43
bool make_challenge_response(unsigned char *&challenge_response)
This method will extract authenticator data, signature, certificate and rp id from fido_cred_t struct...
Definition: fido_registration.cc:180
const unsigned char * get_authdata_ptr()
Method to get authenticator data.
Definition: fido_registration.cc:279
~fido_make_cred()
Standard destructor.
Definition: fido_registration.cc:52
const unsigned char * get_sig_ptr()
Method to get signature data.
Definition: fido_registration.cc:295
size_t get_authdata_len()
Method to get length of authenticator data.
Definition: fido_registration.cc:270
This class is used to perform registration step on client side.
Definition: fido_registration.h:79
bool make_challenge_response(unsigned char *&buf)
Helper method to get challenge response.
Definition: fido_registration.cc:332
fido_make_cred m_fido_make_cred
Definition: fido_registration.h:85
bool make_credentials(const char *challenge)
Helper method to initiate registration process.
Definition: fido_registration.cc:325
char * user
Definition: mysqladmin.cc:60
Definition: buf0block_hint.cc:30
required string type
Definition: replication_group_member_actions.proto:34