[][src]Crate rustls_native_certs

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 the rustls 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

RootStoreBuilder

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 Definitions

PartialResult

Like Result<T,E>, but allows for functions that can return partially complete work alongside an error.