We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3fff6e commit 128203dCopy full SHA for 128203d
connectivity/netsocket/include/netsocket/TLSSocketWrapper.h
@@ -102,6 +102,9 @@ class TLSSocketWrapper : public Socket {
102
* @retval NSAPI_ERROR_OK on success.
103
* @retval NSAPI_ERROR_NO_MEMORY in case there is not enough memory to allocate certificate.
104
* @retval NSAPI_ERROR_PARAMETER in case the provided root_ca parameter failed parsing.
105
+ *
106
+ * @note The user can also provide root_ca as a filesystem path (containing files in any Mbed TLS-supported format)
107
+ * if len == 0 and MBEDTLS_FS_IO is defined
108
*/
109
nsapi_error_t set_root_ca_cert(const void *root_ca, size_t len);
110
0 commit comments