Home
last modified time | relevance | path

Searched refs:ssl_creds (Results 1 – 23 of 23) sorted by relevance

/third_party/grpc/test/core/end2end/fixtures/
Dh2_ssl_proxy.cc56 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in create_proxy_server() local
60 GPR_ASSERT(grpc_server_add_secure_http2_port(s, port, ssl_creds)); in create_proxy_server()
61 grpc_server_credentials_release(ssl_creds); in create_proxy_server()
68 grpc_channel_credentials* ssl_creds = in create_proxy_client() local
77 grpc_secure_channel_create(ssl_creds, target, new_client_args, nullptr); in create_proxy_client()
78 grpc_channel_credentials_release(ssl_creds); in create_proxy_client()
152 grpc_channel_credentials* ssl_creds = in chttp2_init_client_simple_ssl_secure_fullstack() local
160 chttp2_init_client_secure_fullstack(f, new_client_args, ssl_creds); in chttp2_init_client_simple_ssl_secure_fullstack()
191 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in chttp2_init_server_simple_ssl_secure_fullstack() local
198 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, processor); in chttp2_init_server_simple_ssl_secure_fullstack()
[all …]
Dh2_ssl.cc119 grpc_channel_credentials* ssl_creds = in chttp2_init_client_simple_ssl_secure_fullstack() local
121 if (f != nullptr && ssl_creds != nullptr) { in chttp2_init_client_simple_ssl_secure_fullstack()
124 reinterpret_cast<grpc_ssl_credentials*>(ssl_creds); in chttp2_init_client_simple_ssl_secure_fullstack()
136 chttp2_init_client_secure_fullstack(f, new_client_args, ssl_creds); in chttp2_init_client_simple_ssl_secure_fullstack()
164 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in chttp2_init_server_simple_ssl_secure_fullstack() local
166 if (f != nullptr && ssl_creds != nullptr) { in chttp2_init_server_simple_ssl_secure_fullstack()
169 reinterpret_cast<grpc_ssl_server_credentials*>(ssl_creds); in chttp2_init_server_simple_ssl_secure_fullstack()
180 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, processor); in chttp2_init_server_simple_ssl_secure_fullstack()
182 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds); in chttp2_init_server_simple_ssl_secure_fullstack()
Dh2_ssl_cred_reload.cc155 grpc_channel_credentials* ssl_creds = in chttp2_init_client_simple_ssl_secure_fullstack() local
157 if (f != nullptr && ssl_creds != nullptr) { in chttp2_init_client_simple_ssl_secure_fullstack()
160 reinterpret_cast<grpc_ssl_credentials*>(ssl_creds); in chttp2_init_client_simple_ssl_secure_fullstack()
172 chttp2_init_client_secure_fullstack(f, new_client_args, ssl_creds); in chttp2_init_client_simple_ssl_secure_fullstack()
194 grpc_server_credentials* ssl_creds = in chttp2_init_server_simple_ssl_secure_fullstack() local
196 if (f != nullptr && ssl_creds != nullptr) { in chttp2_init_server_simple_ssl_secure_fullstack()
199 reinterpret_cast<grpc_ssl_server_credentials*>(ssl_creds); in chttp2_init_server_simple_ssl_secure_fullstack()
208 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, processor); in chttp2_init_server_simple_ssl_secure_fullstack()
210 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds); in chttp2_init_server_simple_ssl_secure_fullstack()
Dh2_oauth2.cc165 grpc_channel_credentials* ssl_creds = in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack() local
167 if (f != nullptr && ssl_creds != nullptr) { in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack()
170 reinterpret_cast<grpc_ssl_credentials*>(ssl_creds); in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack()
179 grpc_composite_channel_credentials_create(ssl_creds, oauth2_creds, in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack()
189 grpc_channel_credentials_release(ssl_creds); in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack()
239 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in chttp2_init_server_simple_ssl_secure_fullstack() local
241 if (f != nullptr && ssl_creds != nullptr) { in chttp2_init_server_simple_ssl_secure_fullstack()
244 reinterpret_cast<grpc_ssl_server_credentials*>(ssl_creds); in chttp2_init_server_simple_ssl_secure_fullstack()
251 ssl_creds, test_processor_create(fail_server_auth_check(server_args))); in chttp2_init_server_simple_ssl_secure_fullstack()
252 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds); in chttp2_init_server_simple_ssl_secure_fullstack()
Dh2_tls.cc275 grpc_channel_credentials* ssl_creds = create_tls_channel_credentials( in chttp2_init_client() local
283 chttp2_init_client_secure_fullstack(f, new_client_args, ssl_creds); in chttp2_init_client()
301 grpc_server_credentials* ssl_creds = create_tls_server_credentials( in chttp2_init_server() local
306 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, processor); in chttp2_init_server()
308 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds); in chttp2_init_server()
/third_party/grpc/test/core/bad_ssl/servers/
Dcert.cc35 grpc_server_credentials* ssl_creds; in main() local
52 ssl_creds = grpc_ssl_server_credentials_create(nullptr, &pem_key_cert_pair, 1, in main()
55 GPR_ASSERT(grpc_server_add_secure_http2_port(server, addr, ssl_creds)); in main()
56 grpc_server_credentials_release(ssl_creds); in main()
Dalpn.cc69 grpc_server_credentials* ssl_creds; in main() local
73 ssl_creds = grpc_ssl_server_credentials_create(nullptr, &pem_key_cert_pair, 1, in main()
76 GPR_ASSERT(grpc_server_add_secure_http2_port(server, addr, ssl_creds)); in main()
77 grpc_server_credentials_release(ssl_creds); in main()
/third_party/grpc/test/core/surface/
Dsequential_connectivity_test.cc165 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in secure_test_add_port() local
169 grpc_server_add_secure_http2_port(server, addr, ssl_creds); in secure_test_add_port()
170 grpc_server_credentials_release(ssl_creds); in secure_test_add_port()
190 grpc_channel_credentials* ssl_creds = in main() local
196 ssl_creds, in main()
200 grpc_channel_credentials_release(ssl_creds); in main()
Dnum_external_connectivity_watchers_test.cc172 grpc_channel_credentials* ssl_creds = in secure_test_create_channel() local
182 grpc_secure_channel_create(ssl_creds, addr, new_client_args, nullptr); in secure_test_create_channel()
187 grpc_channel_credentials_release(ssl_creds); in secure_test_create_channel()
/third_party/grpc/test/core/handshake/
Dverify_peer_options.cc71 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in server_thread() local
78 grpc_server_add_secure_http2_port(server, addr.c_str(), ssl_creds)); in server_thread()
107 grpc_server_credentials_release(ssl_creds); in server_thread()
143 grpc_channel_credentials* ssl_creds = grpc_ssl_credentials_create( in verify_peer_options_test() local
162 grpc_channel* channel = grpc_secure_channel_create(ssl_creds, target.c_str(), in verify_peer_options_test()
194 grpc_channel_credentials_release(ssl_creds); in verify_peer_options_test()
Dserver_ssl_common.cc119 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in server_thread() local
126 grpc_server_add_secure_http2_port(server, addr.c_str(), ssl_creds)); in server_thread()
156 grpc_server_credentials_release(ssl_creds); in server_thread()
Dclient_ssl.cc257 grpc_channel_credentials* ssl_creds = grpc_ssl_credentials_create( in client_ssl_test() local
270 grpc_channel* channel = grpc_secure_channel_create(ssl_creds, target.c_str(), in client_ssl_test()
301 grpc_channel_credentials_release(ssl_creds); in client_ssl_test()
/third_party/grpc/src/core/lib/security/credentials/google_default/
Dgoogle_default_credentials.h48 grpc_core::RefCountedPtr<grpc_channel_credentials> ssl_creds) in grpc_google_default_channel_credentials() argument
51 ssl_creds_(std::move(ssl_creds)) {} in grpc_google_default_channel_credentials()
66 const grpc_channel_credentials* ssl_creds() const { return ssl_creds_.get(); } in ssl_creds() function
Dgoogle_default_credentials.cc359 grpc_channel_credentials* ssl_creds = in grpc_google_default_credentials_create() local
361 GPR_ASSERT(ssl_creds != nullptr); in grpc_google_default_credentials_create()
370 grpc_core::RefCountedPtr<grpc_channel_credentials>(ssl_creds)); in grpc_google_default_credentials_create()
/third_party/grpc/test/core/end2end/
Dh2_ssl_cert_test.cc136 grpc_server_credentials* ssl_creds = \
142 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, \
145 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds); \
162 grpc_channel_credentials* ssl_creds = NULL; \
183 ssl_creds = grpc_ssl_credentials_create(test_root_cert, key_cert_pair, \
191 chttp2_init_client_secure_fullstack(f, new_client_args, ssl_creds); \
/third_party/grpc/test/core/bad_ssl/
Dbad_ssl_test.cc40 grpc_channel_credentials* ssl_creds = in run_test() local
69 channel = grpc_secure_channel_create(ssl_creds, target, &args, nullptr); in run_test()
114 grpc_channel_credentials_release(ssl_creds); in run_test()
/third_party/grpc/examples/ruby/pubsub/
Dpubsub_demo.rb43 def ssl_creds method
59 combined_creds = ssl_creds.compose(call_creds)
70 combined_creds = ssl_creds.compose(call_creds)
/third_party/libsoup/libsoup/
Dsoup-socket.c87 gpointer ssl_creds; member
232 g_clear_object (&priv->ssl_creds); in soup_socket_finalize()
302 priv->ssl_creds = g_value_get_pointer (value); in soup_socket_set_property()
303 if (priv->ssl_creds) in soup_socket_set_property()
304 g_object_ref (priv->ssl_creds); in soup_socket_set_property()
352 g_clear_object (&priv->ssl_creds); in soup_socket_set_property()
354 priv->ssl_creds = g_object_ref (props->tlsdb); in soup_socket_set_property()
400 g_value_set_pointer (value, priv->ssl_creds); in soup_socket_get_property()
1234 if (priv->ssl_creds) in listen_watch()
1235 new_priv->ssl_creds = g_object_ref (priv->ssl_creds); in listen_watch()
[all …]
/third_party/grpc/test/core/fling/
Dserver.cc211 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in main() local
214 GPR_ASSERT(grpc_server_add_secure_http2_port(server, addr, ssl_creds)); in main()
215 grpc_server_credentials_release(ssl_creds); in main()
/third_party/grpc/src/objective-c/tests/CronetTests/
DCoreCronetEnd2EndTests.mm133 grpc_server_credentials *ssl_creds =
137 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, processor);
139 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds);
/third_party/grpc/src/ruby/pb/test/
Dclient.rb91 def ssl_creds(use_test_ca) method
112 creds = ssl_creds(opts.use_test_ca)
/third_party/grpc/test/core/security/
Dcredentials_test.cc1363 GPR_ASSERT(default_creds->ssl_creds() != nullptr); in test_google_default_creds_auth_key()
1386 GPR_ASSERT(default_creds->ssl_creds() != nullptr); in test_google_default_creds_refresh_token()
/third_party/libsoup/
DChangeLog.pre-git3315 * libsoup/soup-session.c (finalize): Free ssl_creds. Pointed out
5105 "ssl_creds" field.
5108 Pass ssl_creds to soup_socket_client_new calls.
5111 ssl_creds property
5118 soup_socket_server_new): Replace the SSL boolean with an ssl_creds