anjay
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
anjay_oscore_instance_t Struct Reference

#include <oscore.h>

Data Fields

char master_secret [AVS_COAP_OSCORE_AES_128_KEY_LENGTH+1]
 
char master_salt [AVS_COAP_OSCORE_MAX_MASTER_SALT_LENGTH+1]
 
char sender_id [AVS_COAP_OSCORE_MAX_PEER_ID_LENGTH+1]
 
char recipient_id [AVS_COAP_OSCORE_MAX_PEER_ID_LENGTH+1]
 

Field Documentation

◆ master_salt

char master_salt[AVS_COAP_OSCORE_MAX_MASTER_SALT_LENGTH+1]

This resource is used to store (as NULL-terminated string) a non-secret random string called the Master Salt. The Master Salt is used to derive the security context used by OSCORE.

Maximum accepted length (excluding NULL-terminator): 16.

◆ master_secret

char master_secret[AVS_COAP_OSCORE_AES_128_KEY_LENGTH+1]

This resource is used to store (as NULL-terminated string) the pre-shared key used in LwM2M Client and LwM2M Server/Bootstrap-Server.

Maximum accepted length (excluding NULL-terminator): 16.

◆ recipient_id

char recipient_id[AVS_COAP_OSCORE_MAX_PEER_ID_LENGTH+1]

This resource is used to store (as NULL-terminated string) an OSCORE identifier for the LwM2M Client called the Recipient ID.

Maximum accepted length (excluding NULL-terminator): 7.

◆ sender_id

char sender_id[AVS_COAP_OSCORE_MAX_PEER_ID_LENGTH+1]

This resource is used to store (as NULL terminated string) an OSCORE identifier for the LwM2M Client called the Sender ID.

Maximum accepted length (excluding NULL-terminator): 7.


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