Handle struct for security_handler module. More...
#include <src/security_handler.h>
Data Fields | |
rsa_t | rsa |
Rsa handle. More... | |
mcl_uint8_t * | hmac_key |
Hmac key. More... | |
mcl_uint8_t * | onboarding_key |
Onboarding key. More... | |
mcl_uint8_t * | authentication_key |
Authentication key. More... | |
mcl_size_t | authentication_key_size |
Size of authentication key. More... | |
string_t * | registration_access_token |
Registration access token. More... | |
string_t * | registration_client_uri |
Registration client uri. More... | |
string_t * | client_secret |
Client secret. More... | |
string_t * | access_token |
Access token. More... | |
string_t * | last_token_time |
The time at which the last access token is received. More... | |
string_t * | client_id |
Client id. More... | |
Handle struct for security_handler module.
Holds rsa public private key pair (rsa), authentication key generated by HMAC algorithm (hmac_key), onboarding key (onboarding_key) and authentication key (authentication_key) with its size (authentication_key_size).
Definition at line 43 of file security_handler.h.
string_t* security_handler_t::access_token |
Access token.
Definition at line 53 of file security_handler.h.
Referenced by _add_authentication_header_to_request(), and http_processor_get_access_token().
mcl_uint8_t* security_handler_t::authentication_key |
Authentication key.
Definition at line 48 of file security_handler.h.
mcl_size_t security_handler_t::authentication_key_size |
Size of authentication key.
Definition at line 49 of file security_handler.h.
string_t* security_handler_t::client_id |
Client id.
Definition at line 55 of file security_handler.h.
Referenced by _compose_rsa_key_rotation_json(), _create_self_issued_jwt_payload(), _custom_load_register_info(), _process_registration_response_rsa_3072(), _process_registration_response_shared_secret(), _save_registration_information(), http_processor_register(), and http_processor_update_security_information().
string_t* security_handler_t::client_secret |
Client secret.
Definition at line 52 of file security_handler.h.
Referenced by _custom_load_register_info(), _process_registration_response_shared_secret(), _save_registration_information(), http_processor_update_security_information(), and security_handler_hmac_sha256().
mcl_uint8_t* security_handler_t::hmac_key |
Hmac key.
Definition at line 46 of file security_handler.h.
string_t* security_handler_t::last_token_time |
The time at which the last access token is received.
Definition at line 54 of file security_handler.h.
Referenced by http_processor_get_access_token().
mcl_uint8_t* security_handler_t::onboarding_key |
Onboarding key.
Definition at line 47 of file security_handler.h.
string_t* security_handler_t::registration_access_token |
Registration access token.
Definition at line 50 of file security_handler.h.
Referenced by _custom_load_register_info(), _process_registration_response_rsa_3072(), _process_registration_response_shared_secret(), _save_registration_information(), http_processor_register(), and http_processor_update_security_information().
string_t* security_handler_t::registration_client_uri |
Registration client uri.
Definition at line 51 of file security_handler.h.
Referenced by _custom_load_register_info(), _process_registration_response_rsa_3072(), _process_registration_response_shared_secret(), _save_registration_information(), and http_processor_register().
rsa_t security_handler_t::rsa |
Rsa handle.
Definition at line 45 of file security_handler.h.
Referenced by _calculate_signature(), _compose_rsa_key_rotation_json(), _compose_rsa_onboarding_json(), _custom_load_register_info(), _save_registration_information(), http_processor_update_security_information(), and security_handler_generate_rsa_key().