anjay
|
#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] |
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.
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.
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.
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.