Home
last modified time | relevance | path

Searched refs:server_creds (Results 1 – 25 of 31) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc45 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) in grpc_server_security_connector() argument
47 server_creds_(std::move(server_creds)) {} in grpc_server_security_connector()
82 GPR_ASSERT(server_creds() != nullptr); in server_security_connector_cmp()
83 GPR_ASSERT(other_sc->server_creds() != nullptr); in server_security_connector_cmp()
84 return GPR_ICMP(server_creds(), other_sc->server_creds()); in server_security_connector_cmp()
Dsecurity_connector.h155 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds);
162 const grpc_server_credentials* server_creds() const { in server_creds() function
/external/grpc-grpc/src/core/lib/security/security_connector/
Dlocal_security_connector.cc66 grpc_server_credentials_unref(c->base.server_creds); in local_server_destroy()
218 grpc_server_credentials* server_creds, in grpc_local_server_security_connector_create() argument
220 if (server_creds == nullptr || sc == nullptr) { in grpc_local_server_security_connector_create()
228 reinterpret_cast<grpc_local_server_credentials*>(server_creds); in grpc_local_server_security_connector_create()
239 c->base.server_creds = grpc_server_credentials_ref(server_creds); in grpc_local_server_security_connector_create()
Dalts_security_connector.cc62 grpc_server_credentials_unref(c->base.server_creds); in alts_server_destroy()
86 reinterpret_cast<grpc_alts_server_credentials*>(c->base.server_creds); in alts_server_add_handshakers()
269 grpc_server_credentials* server_creds, in grpc_alts_server_security_connector_create() argument
271 if (server_creds == nullptr || sc == nullptr) { in grpc_alts_server_security_connector_create()
281 c->base.server_creds = grpc_server_credentials_ref(server_creds); in grpc_alts_server_security_connector_create()
284 reinterpret_cast<grpc_alts_server_credentials*>(c->base.server_creds); in grpc_alts_server_security_connector_create()
Dsecurity_connector.cc177 GPR_ASSERT(sc1->server_creds != nullptr); in grpc_server_security_connector_cmp()
178 GPR_ASSERT(sc2->server_creds != nullptr); in grpc_server_security_connector_cmp()
179 int c = GPR_ICMP(sc1->server_creds, sc2->server_creds); in grpc_server_security_connector_cmp()
574 grpc_server_credentials* server_creds) { argument
581 c->server_creds = server_creds;
644 grpc_ssl_server_credentials* server_creds = local
645 reinterpret_cast<grpc_ssl_server_credentials*>(c->base.server_creds);
646 GPR_ASSERT(server_creds != nullptr);
647 return server_creds->certificate_config_fetcher.cb != nullptr;
665 grpc_server_credentials_unref(c->base.server_creds);
[all …]
Dsecurity_connector.h165 grpc_server_credentials* server_creds; member
189 grpc_server_credentials* server_creds);
Dlocal_security_connector.h55 grpc_server_credentials* server_creds, grpc_server_security_connector** sc);
Dalts_security_connector.h56 grpc_server_credentials* server_creds, grpc_server_security_connector** sc);
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ssl/
Dssl_security_connector.cc210 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) in grpc_ssl_server_security_connector() argument
212 std::move(server_creds)) {} in grpc_ssl_server_security_connector()
219 return static_cast<const grpc_ssl_server_credentials*>(server_creds()) in has_cert_config_fetcher()
237 static_cast<const grpc_ssl_server_credentials*>(server_creds()); in InitializeHandshakerFactory()
311 grpc_ssl_server_credentials* server_creds = in try_fetch_ssl_server_credentials() local
314 server_creds->FetchCertConfig(&certificate_config); in try_fetch_ssl_server_credentials()
352 const grpc_ssl_server_credentials* server_creds = in try_replace_server_handshaker_factory() local
353 static_cast<const grpc_ssl_server_credentials*>(this->server_creds()); in try_replace_server_handshaker_factory()
362 server_creds->config().client_certificate_request); in try_replace_server_handshaker_factory()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/alts/
Dalts_security_connector.cc138 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) in grpc_alts_server_security_connector() argument
140 std::move(server_creds)) {} in grpc_alts_server_security_connector()
149 static_cast<const grpc_alts_server_credentials*>(server_creds()); in add_handshakers()
292 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) { in grpc_alts_server_security_connector_create() argument
293 if (server_creds == nullptr) { in grpc_alts_server_security_connector_create()
300 std::move(server_creds)); in grpc_alts_server_security_connector_create()
Dalts_security_connector.h59 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds);
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/local/
Dlocal_security_connector.cc210 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) in grpc_local_server_security_connector() argument
211 : grpc_server_security_connector(nullptr, std::move(server_creds)) {} in grpc_local_server_security_connector()
272 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) { in grpc_local_server_security_connector_create() argument
273 if (server_creds == nullptr) { in grpc_local_server_security_connector_create()
280 std::move(server_creds)); in grpc_local_server_security_connector_create()
Dlocal_security_connector.h56 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds);
/external/grpc-grpc/test/core/end2end/fixtures/
Dh2_fakesec.cc77 grpc_server_credentials* server_creds) { in chttp2_init_server_secure_fullstack() argument
86 server_creds)); in chttp2_init_server_secure_fullstack()
87 grpc_server_credentials_release(server_creds); in chttp2_init_server_secure_fullstack()
Dh2_ssl.cc80 grpc_server_credentials* server_creds) { in chttp2_init_server_secure_fullstack() argument
89 server_creds)); in chttp2_init_server_secure_fullstack()
90 grpc_server_credentials_release(server_creds); in chttp2_init_server_secure_fullstack()
Dh2_ssl_proxy.cc117 grpc_server_credentials* server_creds) { in chttp2_init_server_secure_fullstack() argument
126 f->server, grpc_end2end_proxy_get_server_port(ffd->proxy), server_creds)); in chttp2_init_server_secure_fullstack()
127 grpc_server_credentials_release(server_creds); in chttp2_init_server_secure_fullstack()
Dh2_oauth2.cc124 grpc_server_credentials* server_creds) { in chttp2_init_server_secure_fullstack() argument
133 server_creds)); in chttp2_init_server_secure_fullstack()
134 grpc_server_credentials_release(server_creds); in chttp2_init_server_secure_fullstack()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/insecure/
Dinsecure_security_connector.h69 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) in InsecureServerSecurityConnector() argument
71 std::move(server_creds)) {} in InsecureServerSecurityConnector()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/fake/
Dfake_security_connector.cc279 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) in grpc_fake_server_security_connector() argument
281 std::move(server_creds)) {} in grpc_fake_server_security_connector()
316 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) { in grpc_fake_server_security_connector_create() argument
318 std::move(server_creds)); in grpc_fake_server_security_connector_create()
Dfake_security_connector.h42 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds);
/external/grpc-grpc/test/core/end2end/
Dh2_ssl_session_reuse_test.cc51 grpc_server_credentials* server_creds = grpc_ssl_server_credentials_create_ex( in server_create() local
58 grpc_server_add_secure_http2_port(server, server_addr, server_creds)); in server_create()
59 grpc_server_credentials_release(server_creds); in server_create()
Dh2_ssl_cert_test.cc84 grpc_server_credentials* server_creds) { in chttp2_init_server_secure_fullstack() argument
93 server_creds)); in chttp2_init_server_secure_fullstack()
94 grpc_server_credentials_release(server_creds); in chttp2_init_server_secure_fullstack()
/external/grpc-grpc/test/cpp/end2end/
Dshutdown_test.cc74 auto server_creds = in SetUpServer() local
76 builder.AddListeningPort(server_address, server_creds); in SetUpServer()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/tls/
Dtls_security_connector.cc479 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds, in CreateTlsServerSecurityConnector() argument
481 if (server_creds == nullptr) { in CreateTlsServerSecurityConnector()
495 std::move(server_creds), std::move(options)); in CreateTlsServerSecurityConnector()
500 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds, in TlsServerSecurityConnector() argument
503 std::move(server_creds)), in TlsServerSecurityConnector()
Dtls_security_connector.h148 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds,
152 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds,

12