Home
last modified time | relevance | path

Searched refs:roots (Results 1 – 5 of 5) sorted by relevance

/tonic/tonic/src/transport/server/service/
H A Dtls.rs33 let mut roots = RootCertStore::empty(); in new() localVariable
34 roots.add_parsable_certificates(convert_certificate_to_pki_types(cert)?); in new()
36 WebPkiClientVerifier::builder(roots.into()).allow_unauthenticated() in new()
38 WebPkiClientVerifier::builder(roots.into()) in new()
/tonic/tonic/src/transport/channel/service/
H A Dtls.rs59 let mut roots = RootCertStore::from_iter(trust_anchors); in new() localVariable
71 roots.add_parsable_certificates(certs); in new()
76 roots.extend(webpki_roots::TLS_SERVER_ROOTS.iter().cloned()); in new()
80 roots.add_parsable_certificates(convert_certificate_to_pki_types(&cert)?); in new()
83 let builder = builder.with_root_certificates(roots); in new()
/tonic/examples/src/tls_rustls/
H A Dclient.rs21 let mut roots = RootCertStore::empty(); in main() localVariable
25 roots.add_parsable_certificates(certs.into_iter()); in main()
28 .with_root_certificates(roots) in main()
/tonic/tonic/
H A DCargo.toml35 tls-native-roots = ["_tls-any", "channel", "dep:rustls-native-certs"]
36 tls-webpki-roots = ["_tls-any","channel", "dep:webpki-roots"]
92 webpki-roots = { version = "0.26", optional = true }
/tonic/
H A DCHANGELOG.md23 * **tls:** Rename tls-roots feature with tls-native-roots (#1860)
59 * **tls:** Remove tls roots implicit configuration ([#1731](https://github.com/hyperium/tonic/issue…
76 * Removed implicit configuration of client TLS roots setup (#1731)
397 * **transport:** Add a tls-webpki-roots feature to add trust roots from webpki-roots ([#660](https:…