Home
last modified time | relevance | path

Searched refs:Certificate (Results 1 – 14 of 14) sorted by relevance

/tonic/tonic/src/transport/
H A Dtls.rs3 pub struct Certificate { struct
10 pub(crate) cert: Certificate, argument
14 impl Certificate { implementation
39 impl AsRef<[u8]> for Certificate { implementation
45 impl AsMut<[u8]> for Certificate { implementation
56 let cert = Certificate::from_pem(cert); in from_pem()
H A Dmod.rs110 pub use self::tls::Certificate;
/tonic/tonic/src/transport/server/
H A Dtls.rs4 use crate::transport::tls::{Certificate, Identity};
10 client_ca_root: Option<Certificate>,
37 pub fn client_ca_root(self, cert: Certificate) -> Self { in client_ca_root()
/tonic/tonic/src/transport/channel/
H A Dtls.rs3 tls::{Certificate, Identity},
13 certs: Vec<Certificate>,
39 pub fn ca_certificate(self, ca_certificate: Certificate) -> Self { in ca_certificate()
46 pub fn ca_certificates(self, ca_certificates: impl IntoIterator<Item = Certificate>) -> Self { in ca_certificates()
/tonic/examples/src/tls/
H A Dclient.rs6 use tonic::transport::{Certificate, Channel, ClientTlsConfig};
12 let ca = Certificate::from_pem(pem); in main()
/tonic/examples/src/tls_client_auth/
H A Dclient.rs6 use tonic::transport::{Certificate, Channel, ClientTlsConfig, Identity};
12 let server_root_ca_cert = Certificate::from_pem(server_root_ca_cert); in main()
H A Dserver.rs6 use tonic::transport::{Certificate, Identity, Server, ServerTlsConfig};
36 let client_ca_cert = Certificate::from_pem(client_ca_cert); in main()
/tonic/tonic/src/transport/service/
H A Dtls.rs5 use crate::transport::{Certificate, Identity};
39 certificate: &Certificate, in convert_certificate_to_pki_types() argument
/tonic/examples/src/gcp/
H A Dclient.rs8 transport::{Certificate, Channel, ClientTlsConfig},
31 .ca_certificate(Certificate::from_pem(certs)) in main()
/tonic/tonic/src/transport/server/service/
H A Dtls.rs12 Certificate, Identity,
23 client_ca_root: Option<&Certificate>, in new() argument
/tonic/interop/src/bin/
H A Dclient.rs4 use tonic::transport::{Certificate, ClientTlsConfig};
41 let ca = Certificate::from_pem(pem); in main()
/tonic/tonic/src/transport/channel/service/
H A Dtls.rs19 use crate::transport::tls::{Certificate, Identity};
31 ca_certs: Vec<Certificate>, in new() argument
/tonic/examples/data/gcp/
H A Droots.pem2 # Issuer: CN=AAA Certificate Services O=Comodo CA Limited
3 # Subject: CN=AAA Certificate Services O=Comodo CA Limited
953 # Issuer: CN=Go Daddy Root Certificate Authority - G2 O=GoDaddy.com, Inc.
954 # Subject: CN=Go Daddy Root Certificate Authority - G2 O=GoDaddy.com, Inc.
955 # Label: "Go Daddy Root Certificate Authority - G2"
985 # Issuer: CN=Starfield Root Certificate Authority - G2 O=Starfield Technologies, Inc.
986 # Subject: CN=Starfield Root Certificate Authority - G2 O=Starfield Technologies, Inc.
987 # Label: "Starfield Root Certificate Authority - G2"
/tonic/
H A DCHANGELOG.md533 * **transport:** Add AsRef impl for Certificate ([#326](https://github.com/hyperium/tonic/issues/32…