mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 10:00:57 +02:00
docs: move ecdsa documentation under soc capability for esp_http_client.rst
This commit is contained in:
@@ -44,12 +44,14 @@ A secure element (ATECC608) can be also used for the underlying TLS connection i
|
|||||||
.use_secure_element = true,
|
.use_secure_element = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
Use ECDSA Peripheral for TLS
|
.. only:: SOC_ECDSA_SUPPORTED
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
The ECDSA peripheral can be used for the underlying TLS connection in the HTTP client connection. Please refer to the **ECDSA Peripheral with ESP-TLS** section in the :doc:`ESP-TLS documentation </api-reference/protocols/esp_tls>` for more details. The HTTP client can be configured to use ECDSA peripheral as follows:
|
Use ECDSA Peripheral for TLS
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. code-block:: c
|
The ECDSA peripheral can be used for the underlying TLS connection in the HTTP client connection. Please refer to the **ECDSA Peripheral with ESP-TLS** section in the :doc:`ESP-TLS documentation </api-reference/protocols/esp_tls>` for more details. The HTTP client can be configured to use ECDSA peripheral as follows:
|
||||||
|
|
||||||
|
.. code-block:: c
|
||||||
|
|
||||||
esp_http_client_config_t cfg = {
|
esp_http_client_config_t cfg = {
|
||||||
/* other configurations options */
|
/* other configurations options */
|
||||||
|
@@ -44,12 +44,14 @@ HTTP 基本请求
|
|||||||
.use_secure_element = true,
|
.use_secure_element = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
为 TLS 使用 ECDSA 外设
|
.. only:: SOC_ECDSA_SUPPORTED
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
ECDSA 外设可用于 HTTP 客户端连接中的底层 TLS 连接。详细内容请参考 :doc:`ESP-TLS 文档 </api-reference/protocols/esp_tls>` 中的 **ECDSA 外设与 ESP-TLS** 小节。可以按如下方式配置 HTTP 客户端以使用 ECDSA 外设:
|
为 TLS 使用 ECDSA 外设
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. code-block:: c
|
ECDSA 外设可用于 HTTP 客户端连接中的底层 TLS 连接。详细内容请参考 :doc:`ESP-TLS 文档 </api-reference/protocols/esp_tls>` 中的 **在 ESP-TLS 中使用 ECDSA 外设** 小节。可以按如下方式配置 HTTP 客户端以使用 ECDSA 外设:
|
||||||
|
|
||||||
|
.. code-block:: c
|
||||||
|
|
||||||
esp_http_client_config_t cfg = {
|
esp_http_client_config_t cfg = {
|
||||||
/* other configurations options */
|
/* other configurations options */
|
||||||
|
Reference in New Issue
Block a user