security_handler_t Struct Reference

Handle struct for security_handler module. More...

#include <src/security_handler.h>

Collaboration diagram for security_handler_t:
Collaboration graph

Data Fields

rsa_t rsa
 Rsa handle. More...
 
mcl_uint8_thmac_key
 Hmac key. More...
 
mcl_uint8_tonboarding_key
 Onboarding key. More...
 
mcl_uint8_tauthentication_key
 Authentication key. More...
 
mcl_size_t authentication_key_size
 Size of authentication key. More...
 
string_tregistration_access_token
 Registration access token. More...
 
string_tregistration_client_uri
 Registration client uri. More...
 
string_tclient_secret
 Client secret. More...
 
string_taccess_token
 Access token. More...
 
string_tlast_token_time
 The time at which the last access token is received. More...
 
string_tclient_id
 Client id. More...
 

Detailed Description

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.

Field Documentation

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.

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.


The documentation for this struct was generated from the following file: