Expand description
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::RootCertStore
pre-filled from the native certificate store. It is only available if therustls
feature is enabled. - A lower level function build_native_certs that lets callers pass their own certificate parsing logic. It is available to all users.
Traits§
Functions§
- build_
native_ certs - Loads root certificates found in the platform’s native certificate store, executing callbacks on the provided builder.
- load_
native_ certs - Loads root certificates found in the platform’s native certificate store.
Type Aliases§
- Partial
Result - Like
Result<T,E>
, but allows for functions that can return partially complete work alongside an error.