Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/end2end/fixtures/
Dh2_ssl_proxy.cc47 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in create_proxy_server() local
49 GPR_ASSERT(grpc_server_add_secure_http2_port(s, port, ssl_creds)); in create_proxy_server()
50 grpc_server_credentials_release(ssl_creds); in create_proxy_server()
57 grpc_channel_credentials* ssl_creds = in create_proxy_client() local
66 grpc_secure_channel_create(ssl_creds, target, new_client_args, nullptr); in create_proxy_client()
67 grpc_channel_credentials_release(ssl_creds); in create_proxy_client()
140 grpc_channel_credentials* ssl_creds = in chttp2_init_client_simple_ssl_secure_fullstack() local
148 chttp2_init_client_secure_fullstack(f, new_client_args, ssl_creds); in chttp2_init_client_simple_ssl_secure_fullstack()
171 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in chttp2_init_server_simple_ssl_secure_fullstack() local
176 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, processor); in chttp2_init_server_simple_ssl_secure_fullstack()
[all …]
Dh2_ssl.cc103 grpc_channel_credentials* ssl_creds = in chttp2_init_client_simple_ssl_secure_fullstack() local
111 chttp2_init_client_secure_fullstack(f, new_client_args, ssl_creds); in chttp2_init_client_simple_ssl_secure_fullstack()
131 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in chttp2_init_server_simple_ssl_secure_fullstack() local
136 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, processor); in chttp2_init_server_simple_ssl_secure_fullstack()
138 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds); in chttp2_init_server_simple_ssl_secure_fullstack()
Dh2_oauth2.cc148 grpc_channel_credentials* ssl_creds = in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack() local
153 grpc_composite_channel_credentials_create(ssl_creds, oauth2_creds, in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack()
163 grpc_channel_credentials_release(ssl_creds); in chttp2_init_client_simple_ssl_with_oauth2_secure_fullstack()
204 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in chttp2_init_server_simple_ssl_secure_fullstack() local
207 ssl_creds, test_processor_create(fail_server_auth_check(server_args))); in chttp2_init_server_simple_ssl_secure_fullstack()
208 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds); in chttp2_init_server_simple_ssl_secure_fullstack()
/external/grpc-grpc/test/core/bad_ssl/servers/
Dcert.cc36 grpc_server_credentials* ssl_creds; in main() local
53 ssl_creds = grpc_ssl_server_credentials_create(nullptr, &pem_key_cert_pair, 1, in main()
56 GPR_ASSERT(grpc_server_add_secure_http2_port(server, addr, ssl_creds)); in main()
57 grpc_server_credentials_release(ssl_creds); in main()
Dalpn.cc57 grpc_server_credentials* ssl_creds; in main() local
61 ssl_creds = grpc_ssl_server_credentials_create(nullptr, &pem_key_cert_pair, 1, in main()
64 GPR_ASSERT(grpc_server_add_secure_http2_port(server, addr, ssl_creds)); in main()
65 grpc_server_credentials_release(ssl_creds); in main()
/external/grpc-grpc/test/core/surface/
Dsequential_connectivity_test.cc139 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in secure_test_add_port() local
141 grpc_server_add_secure_http2_port(server, addr, ssl_creds); in secure_test_add_port()
142 grpc_server_credentials_release(ssl_creds); in secure_test_add_port()
146 grpc_channel_credentials* ssl_creds = in secure_test_create_channel() local
155 grpc_secure_channel_create(ssl_creds, addr, new_client_args, nullptr); in secure_test_create_channel()
160 grpc_channel_credentials_release(ssl_creds); in secure_test_create_channel()
Dnum_external_connectivity_watchers_test.cc170 grpc_channel_credentials* ssl_creds = in secure_test_create_channel() local
179 grpc_secure_channel_create(ssl_creds, addr, new_client_args, nullptr); in secure_test_create_channel()
184 grpc_channel_credentials_release(ssl_creds); in secure_test_create_channel()
/external/grpc-grpc/test/core/handshake/
Dverify_peer_options.cc68 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in server_thread() local
75 GPR_ASSERT(grpc_server_add_secure_http2_port(server, addr, ssl_creds)); in server_thread()
105 grpc_server_credentials_release(ssl_creds); in server_thread()
142 grpc_channel_credentials* ssl_creds = grpc_ssl_credentials_create( in verify_peer_options_test() local
157 grpc_secure_channel_create(ssl_creds, target, &grpc_args, nullptr); in verify_peer_options_test()
189 grpc_channel_credentials_release(ssl_creds); in verify_peer_options_test()
Dserver_ssl_common.cc88 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in server_thread() local
95 GPR_ASSERT(grpc_server_add_secure_http2_port(server, addr, ssl_creds)); in server_thread()
122 grpc_server_credentials_release(ssl_creds); in server_thread()
Dclient_ssl.cc254 grpc_channel_credentials* ssl_creds = grpc_ssl_credentials_create( in client_ssl_test() local
269 grpc_secure_channel_create(ssl_creds, target, &grpc_args, nullptr); in client_ssl_test()
300 grpc_channel_credentials_release(ssl_creds); in client_ssl_test()
/external/grpc-grpc/src/core/lib/security/credentials/google_default/
Dgoogle_default_credentials.cc73 grpc_channel_credentials_unref(c->ssl_creds); in google_default_credentials_destruct()
94 : c->ssl_creds->vtable->create_security_connector( in google_default_create_security_connector()
95 c->ssl_creds, call_creds, target, args, sc, new_args); in google_default_create_security_connector()
234 creds->ssl_creds = in grpc_google_default_credentials_create()
236 GPR_ASSERT(creds->ssl_creds != nullptr); in grpc_google_default_credentials_create()
Dgoogle_default_credentials.h45 grpc_channel_credentials* ssl_creds; member
/external/grpc-grpc/test/core/end2end/
Dh2_ssl_cert_test.cc125 grpc_server_credentials* ssl_creds = \
131 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, \
134 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds); \
151 grpc_channel_credentials* ssl_creds = NULL; \
172 ssl_creds = grpc_ssl_credentials_create(test_root_cert, key_cert_pair, \
180 chttp2_init_client_secure_fullstack(f, new_client_args, ssl_creds); \
/external/grpc-grpc/test/core/bad_ssl/
Dbad_ssl_test.cc39 grpc_channel_credentials* ssl_creds = in run_test() local
68 channel = grpc_secure_channel_create(ssl_creds, target, &args, nullptr); in run_test()
113 grpc_channel_credentials_release(ssl_creds); in run_test()
/external/grpc-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)
/external/grpc-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()
/external/grpc-grpc/test/core/memory_usage/
Dserver.cc189 grpc_server_credentials* ssl_creds = grpc_ssl_server_credentials_create( in main() local
192 GPR_ASSERT(grpc_server_add_secure_http2_port(server, addr, ssl_creds)); in main()
193 grpc_server_credentials_release(ssl_creds); in main()
/external/grpc-grpc/src/objective-c/tests/CoreCronetEnd2EndTests/
DCoreCronetEnd2EndTests.mm138 grpc_server_credentials *ssl_creds =
142 grpc_server_credentials_set_auth_metadata_processor(ssl_creds, processor);
144 chttp2_init_server_secure_fullstack(f, server_args, ssl_creds);
/external/grpc-grpc/src/ruby/pb/test/
Dclient.rb91 def ssl_creds(use_test_ca) method
112 creds = ssl_creds(opts.use_test_ca)
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc889 GPR_ASSERT(default_creds->ssl_creds != nullptr); in test_google_default_creds_auth_key()
912 GPR_ASSERT(default_creds->ssl_creds != nullptr); in test_google_default_creds_refresh_token()