# Secure Transport

# Secure Transport

This module includes configuration variables for Secure Transport.

## Summary

| ### Macros ||
|---|---|
| `https://openthread.io/reference/config/group/config-secure-transport#group__config-secure-transport_1gabfaad92dcf324521c82e2b816e9cd136 MBEDTLS_SSL_IN_CONTENT_LEN` | The max length of the OpenThread dtls content buffer. |
| `https://openthread.io/reference/config/group/config-secure-transport#group__config-secure-transport_1ga0f705c58df83a976366acdb09d896953 (OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE || OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE || \ OPENTHREAD_CONFIG_COMMISSIONER_ENABLE || OPENTHREAD_CONFIG_JOINER_ENABLE || OPENTHREAD_CONFIG_BLE_TCAT_ENABLE)` | Define to 1 to enable DTLS/TLS. |

## Macros

### OPENTHREAD_CONFIG_DTLS_MAX_CONTENT_LEN

```
 OPENTHREAD_CONFIG_DTLS_MAX_CONTENT_LEN MBEDTLS_SSL_IN_CONTENT_LEN
```
The max length of the OpenThread dtls content buffer.

### OPENTHREAD_CONFIG_SECURE_TRANSPORT_ENABLE

```
 OPENTHREAD_CONFIG_SECURE_TRANSPORT_ENABLE (OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE || OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE || \
     OPENTHREAD_CONFIG_COMMISSIONER_ENABLE || OPENTHREAD_CONFIG_JOINER_ENABLE || OPENTHREAD_CONFIG_BLE_TCAT_ENABLE)
```
Define to 1 to enable DTLS/TLS.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).