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...
 Hmac key. More...
 Onboarding key. More...
 Authentication key. More...
mcl_size_t authentication_key_size
 Size of authentication key. More...
 Registration access token. More...
 Registration client uri. More...
 Client secret. More...
 Access token. More...
 The time at which the last access token is received. More...
 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: