|
| COAP_API coap_pdu_t * | coap_oscore_new_pdu_encrypted (coap_session_t *session, coap_pdu_t *pdu, coap_bin_const_t *kid_context, oscore_partial_iv_t send_partial_iv) |
| | Encrypts the specified pdu when OSCORE encryption is required on session.
|
| coap_pdu_t * | coap_oscore_new_pdu_encrypted_lkd (coap_session_t *session, coap_pdu_t *pdu, coap_bin_const_t *kid_context, oscore_partial_iv_t send_partial_iv) |
| | Encrypts the specified pdu when OSCORE encryption is required on session.
|
| struct coap_pdu_t * | coap_oscore_decrypt_pdu (coap_session_t *session, coap_pdu_t *pdu) |
| | Decrypts the OSCORE-encrypted parts of pdu when OSCORE is used.
|
| struct coap_pdu_t * | coap_oscore_decrypt_pdu_ext (coap_session_t *session, coap_pdu_t *pdu, uint32_t flags) |
| | As coap_oscore_decrypt_pdu(), with flags (COAP_OSCORE_DECRYPT_*).
|
| void | coap_delete_all_oscore (coap_context_t *context) |
| | Cleanup all allocated OSCORE information.
|
| void | coap_oscore_session_set_recipient_ctx (coap_session_t *session, oscore_recipient_ctx_t *recipient_ctx) |
| | Attach the OSCORE recipient context information to the session.
|
| void | coap_oscore_association_set_recipient_ctx (oscore_association_t *association, oscore_recipient_ctx_t *recipient_ctx) |
| | Set the recipient context of an association.
|
| int | coap_oscore_is_attached (coap_context_t *c_context, oscore_ctx_t *oscore_ctx) |
| | Verify if the OSCORE context is attached to the c_context .
|
| void | coap_delete_oscore_associations (coap_session_t *session) |
| | Cleanup all allocated OSCORE association information.
|
| size_t | coap_oscore_overhead (coap_session_t *session, coap_pdu_t *pdu) |
| | Determine the additional data size requirements for adding in OSCORE.
|
| int | coap_rebuild_pdu_for_proxy (coap_pdu_t *pdu) |
| | Convert PDU to use Proxy-Scheme option if Proxy-Uri option is present.
|
| int | coap_oscore_initiate (coap_session_t *session, coap_oscore_conf_t *oscore_conf) |
| | Initiate an OSCORE session.
|
| int | coap_context_oscore_server_lkd (coap_context_t *context, coap_oscore_conf_t *oscore_conf) |
| | Set the context's default OSCORE configuration for a server.
|
| int | coap_delete_oscore_recipient_lkd (coap_context_t *context, coap_bin_const_t *recipient_id) |
| | Release all the information associated for the specific Recipient ID (and hence and stop any further OSCORE protection for this Recipient).
|
| int | coap_delete_oscore_snd_conf (coap_oscore_snd_conf_t *oscore_snd_conf) |
| | Release all the information associated with the OSCORE complex Sender configuration.
|
| int | coap_delete_oscore_rcp_conf (coap_oscore_rcp_conf_t *oscore_rcp_conf) |
| | Release all the information associated with the OSCORE complex Recipient configuration.
|
| coap_session_t * | coap_new_client_session_oscore3_lkd (coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_oscore_conf_t *oscore_conf, void *app_data, coap_app_data_free_callback_t callback, coap_str_const_t *ws_host) |
| | Creates a new client session to the designated server, protecting the data using OSCORE, along with app_data information (as per coap_session_set_app_data2()) and optional WebSockets host (as per coap_ws_set_host_request()) to remove timing window call-back instead of doing coap_new_client_session_oscore(); coap_session_set_app_data2(); or coap_new_client_session_oscore(); coap_ws_set_host_request();.
|
| oscore_ctx_t * | coap_init_oscore_context_from_conf (coap_oscore_conf_t *oscore_conf) |
| | Initializes an OSCORE context from the given configuration.
|
| coap_session_t * | coap_new_client_session_oscore_pki3_lkd (coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_pki_t *pki_data, coap_oscore_conf_t *oscore_conf, void *app_data, coap_app_data_free_callback_t callback, coap_str_const_t *ws_host) |
| | Creates a new client session to the designated server, with PKI credentials protecting the data using OSCORE, along with app_data information (as per coap_session_set_app_data2()) and optional WebSockets host (as per coap_ws_set_host_request()) to remove timing window call-back in (D)TLS startup instead of doing coap_new_client_session_oscore_pki(); coap_session_set_app_data2(); or coap_new_client_session_oscore_pki(); coap_ws_set_host_request();.
|
| coap_session_t * | coap_new_client_session_oscore_psk3_lkd (coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_cpsk_t *psk_data, coap_oscore_conf_t *oscore_conf, void *app_data, coap_app_data_free_callback_t callback, coap_str_const_t *ws_host) |
| | Creates a new client session to the designated server, with PSK credentials protecting the data using OSCORE, along with app_data information (as per coap_session_set_app_data2()) and optional WebSockets host (as per coap_ws_set_host_request()) to remove timing window call-back in (D)TLS startup instead of doing coap_new_client_session_oscore_psk(); coap_session_set_app_data2(); or coap_new_client_session_oscore_psk(); coap_ws_set_host_request();.
|
| int | coap_new_oscore_recipient_lkd (coap_context_t *context, coap_bin_const_t *recipient_id) |
| | Add in the specific Recipient ID into the OSCORE context (server only).
|
| int | coap_oscore_recipient_set_latest_seq_lkd (coap_oscore_conf_t *oscore_conf, const coap_bin_const_t *recipient_id, uint64_t last_seq, uint64_t seq_window) |
| | Set the latest sequence number and sliding window for the specified recipient id in the compiled configuration file.
|
CoAP OSCORE internal information.
Definition in file coap_oscore_internal.h.