6fd9982358
Adds a new OS::get_system_ca_certs method which can be implemented by platforms to retrieve the list of trusted CA certificates using OS specific APIs. The function should return the certificates in PEM format, and is currently implemented for Windows/macOS/LinuxBSD(*)/Android. mbedTLS will fall back to bundled certificates when the OS returns no certificates. (*) LinuxBSD does not have a standardized certificates store location. The current implementation will test for common locations and may return an empty string on some distributions (falling back to the bundled certificates). |
||
---|---|---|
.. | ||
tests | ||
config.py | ||
crypto_mbedtls.cpp | ||
crypto_mbedtls.h | ||
dtls_server_mbedtls.cpp | ||
dtls_server_mbedtls.h | ||
packet_peer_mbed_dtls.cpp | ||
packet_peer_mbed_dtls.h | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
stream_peer_mbedtls.cpp | ||
stream_peer_mbedtls.h | ||
tls_context_mbedtls.cpp | ||
tls_context_mbedtls.h |