rustls-native-certs allows rustls to use the platform's native certificate store when operating as a TLS client.
It provides the following functions:
- A higher level function load_native_certs
which returns a
rustls::RootCertStorepre-filled from the native certificate store. It is only available if the
rustlsfeature is enabled.
- A lower level function build_native_certs that lets callers pass their own certificate parsing logic. It is available to all users.
Loads root certificates found in the platform's native certificate store, executing callbacks on the provided builder.
Loads root certificates found in the platform's native certificate store.