Arguments for a new Security object instance creation (lwm2m_object_security_instance_create). More...
Arguments for a new Security object instance creation (lwm2m_object_security_instance_create).
Definition at line 310 of file security.h.
#include <security.h>
Data Fields | |
| uint16_t | server_id |
| Server's short ID the instance is associated to. | |
| const char * | server_uri |
| Server's URI the instance is associated to. More... | |
| uint8_t | security_mode |
| Security mode to use. More... | |
| const uint8_t * | pub_key_or_id |
| Pointer to the Key ID when using LWM2M_SECURITY_MODE_PRE_SHARED_KEY. More... | |
| size_t | pub_key_or_id_len |
| Length of lwm2m_obj_security_args_t::pub_key_or_id. | |
| const uint8_t * | secret_key |
| Pointer to the Key when using LWM2M_SECURITY_MODE_PRE_SHARED_KEY. More... | |
| size_t | secret_key_len |
| Length of lwm2m_obj_security_args_t::secret_key. | |
| const uint8_t * | server_pub_key |
Pointer to the server public key encoded as a SubjectPublicKeyInfo sequence when using LWM2M_SECURITY_MODE_RAW_PUBLIC_KEY (see credman_load_public_key). More... | |
| size_t | server_pub_key_len |
| Length of lwm2m_obj_security_args_t::server_pub_key. | |
| bool | is_bootstrap |
When true the security instance is associated to the Bootstrap-Server. | |
| uint32_t | client_hold_off_time |
| Time, in seconds, to wait before initiating a 'Client Initiated Bootstrap', after it has been determined that it should be initiated. | |
| uint32_t | bootstrap_account_timeout |
| Time, in seconds, that the client waits before it purges the Bootstrap-Server's account. More... | |
| uint32_t lwm2m_obj_security_args::bootstrap_account_timeout |
Time, in seconds, that the client waits before it purges the Bootstrap-Server's account.
0 means never.
Definition at line 390 of file security.h.
| const uint8_t* lwm2m_obj_security_args::pub_key_or_id |
Pointer to the Key ID when using LWM2M_SECURITY_MODE_PRE_SHARED_KEY.
Pointer to the public key encoded as a SubjectPublicKeyInfo sequence when using LWM2M_SECURITY_MODE_RAW_PUBLIC_KEY (see credman_load_public_key). May be NULL when LWM2M_SECURITY_MODE_NONE is used.
Definition at line 338 of file security.h.
| const uint8_t* lwm2m_obj_security_args::secret_key |
Pointer to the Key when using LWM2M_SECURITY_MODE_PRE_SHARED_KEY.
Pointer to the private key PKCS8 DER encoded when using LWM2M_SECURITY_MODE_RAW_PUBLIC_KEY (see credman_load_private_key). May be NULL when LWM2M_SECURITY_MODE_NONE is used.
Definition at line 353 of file security.h.
| uint8_t lwm2m_obj_security_args::security_mode |
Security mode to use.
For now only LWM2M_SECURITY_MODE_NONE and LWM2M_SECURITY_MODE_PRE_SHARED_KEY and LWM2M_SECURITY_MODE_RAW_PUBLIC_KEY are supported.
Definition at line 328 of file security.h.
| const uint8_t* lwm2m_obj_security_args::server_pub_key |
Pointer to the server public key encoded as a SubjectPublicKeyInfo sequence when using LWM2M_SECURITY_MODE_RAW_PUBLIC_KEY (see credman_load_public_key).
May be NULL when LWM2M_SECURITY_MODE_NONE or LWM2M_SECURITY_MODE_PRE_SHARED_KEY are used.
Definition at line 368 of file security.h.
| const char* lwm2m_obj_security_args::server_uri |
Server's URI the instance is associated to.
Definition at line 321 of file security.h.