![]() |
Contiki-NG
|
Data Structures | |
| struct | coap_keystore_psk_entry_t |
| The structure of a CoAP pre-shared key info. More... | |
| struct | coap_keystore_cert_entry_t |
| The structure of a CoAP PKI certificate info. More... | |
| struct | coap_keystore_t |
| The structure of a CoAP keystore. More... | |
Functions | |
| void | coap_keystore_simple_init (void) |
| Registers a simple CoAP DTLS keystore with fixed pre-shared key credentials. | |
| void | coap_set_keystore (const coap_keystore_t *keystore) |
| Set the CoAP keystore to use by CoAP. | |
The CoAP keystore API defines a common interface for retrieving authorization information for CoAP/DTLS.
| void coap_keystore_simple_init | ( | void | ) |
Registers a simple CoAP DTLS keystore with fixed pre-shared key credentials.
The credentials can be configured in project-conf.h as shown in the following example:
Definition at line 122 of file coap-keystore-simple.c.
References coap_set_keystore().
Referenced by coap_transport_init().
| void coap_set_keystore | ( | const coap_keystore_t * | keystore | ) |
Set the CoAP keystore to use by CoAP.
| keystore | A pointer to a CoAP keystore. |
Referenced by coap_keystore_simple_init().