mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-08-06 09:39:44 +08:00

The previous "using_mbedtls_pkcs11.c" implementation requires using the device key and device certificate stored under the labels "pkcs11configLABEL_DEVICE_PRIVATE_KEY_FOR_TLS" and "pkcs11configLABEL_DEVICE_CERTIFICATE_FOR_TLS". This commit updates the NetworkCredentials to include fields for pClientCertLabel and pPrivateKeyLabel, so other labels can be used with PKCS11. This matches the behavior seen in the CSDK. This commit also updates the "pkcs11_mqtt_mutual_auth_demo" to set the newly-added NetworkCredentials fields.
The 'core' branded application protocols are 'standalone' in that they do not have any dependencies outside of the C library. They use a simple transport interface definition to ensure they are not dependent on the underlying TCP/IP stack. This directory collects together the application protocols that all use the same transport interface definition. Directories: + coreMQTT contains the implementation of the coreMQTT library. + coreMQTT-Agent contains the implementation of the coreMQTT Agent library. + coreHTTP contains the implementation of the coreHTTP library. + coreSNTP contains the implementation of the coreSNTP library. + network_transport contains multiple implementations for the transport interface. For more details on the above libraries, see: https://www.freertos.org/application-protocols.html.