Home
last modified time | relevance | path

Searched refs:cert_slice (Results 1 – 25 of 56) sorted by relevance

123

/dports/devel/grpc130/grpc-1.30.2/test/core/security/
H A Dgrpc_tls_credentials_options_test.cc36 grpc_slice ca_slice, cert_slice, key_slice; in SetKeyMaterials() local
40 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in SetKeyMaterials()
46 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in SetKeyMaterials()
53 grpc_slice_unref(cert_slice); in SetKeyMaterials()
62 grpc_slice ca_slice, cert_slice, key_slice; in TEST() local
66 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in TEST()
72 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in TEST()
79 grpc_slice_unref(cert_slice); in TEST()
H A Dssl_server_fuzzer.cc72 grpc_slice ca_slice, cert_slice, key_slice; in LLVMFuzzerTestOneInput() local
76 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in LLVMFuzzerTestOneInput()
82 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in LLVMFuzzerTestOneInput()
88 grpc_slice_unref(cert_slice); in LLVMFuzzerTestOneInput()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/test/core/handshake/
H A Dverify_peer_options.cc55 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local
59 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread()
67 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_thread()
106 grpc_slice_unref(cert_slice); in server_thread()
129 grpc_slice ca_slice, cert_slice, key_slice; in verify_peer_options_test() local
133 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in verify_peer_options_test()
141 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in verify_peer_options_test()
190 grpc_slice_unref(cert_slice); in verify_peer_options_test()
236 grpc_slice cert_slice; in main() local
240 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
[all …]
/dports/devel/grpc134/grpc-1.34.1/test/core/handshake/
H A Dverify_peer_options.cc58 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local
62 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread()
70 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_thread()
108 grpc_slice_unref(cert_slice); in server_thread()
130 grpc_slice ca_slice, cert_slice, key_slice; in verify_peer_options_test() local
134 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in verify_peer_options_test()
142 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in verify_peer_options_test()
195 grpc_slice_unref(cert_slice); in verify_peer_options_test()
244 grpc_slice cert_slice; in main() local
248 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
[all …]
/dports/devel/grpc/grpc-1.42.0/test/core/handshake/
H A Dverify_peer_options.cc59 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local
63 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread()
71 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_thread()
109 grpc_slice_unref(cert_slice); in server_thread()
131 grpc_slice ca_slice, cert_slice, key_slice; in verify_peer_options_test() local
135 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in verify_peer_options_test()
143 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in verify_peer_options_test()
196 grpc_slice_unref(cert_slice); in verify_peer_options_test()
245 grpc_slice cert_slice; in main() local
249 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
[all …]
/dports/devel/grpc130/grpc-1.30.2/test/core/handshake/
H A Dverify_peer_options.cc55 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local
59 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread()
67 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_thread()
106 grpc_slice_unref(cert_slice); in server_thread()
129 grpc_slice ca_slice, cert_slice, key_slice; in verify_peer_options_test() local
133 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in verify_peer_options_test()
141 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in verify_peer_options_test()
190 grpc_slice_unref(cert_slice); in verify_peer_options_test()
238 grpc_slice cert_slice; in main() local
242 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
[all …]
/dports/devel/grpc134/grpc-1.34.1/test/core/end2end/fixtures/
H A Dh2_ssl_proxy.cc46 grpc_slice cert_slice, key_slice; in create_proxy_server() local
48 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in create_proxy_server()
52 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in create_proxy_server()
58 grpc_slice_unref(cert_slice); in create_proxy_server()
181 grpc_slice cert_slice, key_slice; in chttp2_init_server_simple_ssl_secure_fullstack() local
183 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in chttp2_init_server_simple_ssl_secure_fullstack()
187 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack()
193 grpc_slice_unref(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack()
/dports/devel/grpc/grpc-1.42.0/test/core/end2end/fixtures/
H A Dh2_ssl_proxy.cc47 grpc_slice cert_slice, key_slice; in create_proxy_server() local
49 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in create_proxy_server()
53 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in create_proxy_server()
59 grpc_slice_unref(cert_slice); in create_proxy_server()
182 grpc_slice cert_slice, key_slice; in chttp2_init_server_simple_ssl_secure_fullstack() local
184 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in chttp2_init_server_simple_ssl_secure_fullstack()
188 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack()
194 grpc_slice_unref(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack()
/dports/devel/grpc130/grpc-1.30.2/test/core/end2end/fixtures/
H A Dh2_ssl_proxy.cc46 grpc_slice cert_slice, key_slice; in create_proxy_server() local
48 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in create_proxy_server()
52 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in create_proxy_server()
58 grpc_slice_unref(cert_slice); in create_proxy_server()
181 grpc_slice cert_slice, key_slice; in chttp2_init_server_simple_ssl_secure_fullstack() local
183 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in chttp2_init_server_simple_ssl_secure_fullstack()
187 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack()
193 grpc_slice_unref(cert_slice); in chttp2_init_server_simple_ssl_secure_fullstack()
H A Dh2_tls.cc148 grpc_slice ca_slice, cert_slice, key_slice; in client_cred_reload_sync() local
152 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in client_cred_reload_sync()
158 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in client_cred_reload_sync()
169 grpc_slice_unref(cert_slice); in client_cred_reload_sync()
184 grpc_slice ca_slice, cert_slice, key_slice; in server_cred_reload_sync() local
188 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in server_cred_reload_sync()
194 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_cred_reload_sync()
209 grpc_slice_unref(cert_slice); in server_cred_reload_sync()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/test/core/bad_ssl/servers/
H A Dcert.cc38 grpc_slice cert_slice, key_slice; in main() local
44 grpc_load_file("src/core/tsi/test_creds/badserver.pem", 1, &cert_slice))); in main()
51 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
59 grpc_slice_unref(cert_slice); in main()
/dports/devel/grpc134/grpc-1.34.1/test/core/bad_ssl/servers/
H A Dcert.cc37 grpc_slice cert_slice, key_slice; in main() local
43 grpc_load_file("src/core/tsi/test_creds/badserver.pem", 1, &cert_slice))); in main()
50 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
58 grpc_slice_unref(cert_slice); in main()
H A Dalpn.cc59 grpc_slice cert_slice, key_slice; in main() local
61 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in main()
65 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
80 grpc_slice_unref(cert_slice); in main()
/dports/devel/grpc/grpc-1.42.0/test/core/bad_ssl/servers/
H A Dcert.cc36 grpc_slice cert_slice, key_slice; in main() local
42 grpc_load_file("src/core/tsi/test_creds/badserver.pem", 1, &cert_slice))); in main()
49 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
57 grpc_slice_unref(cert_slice); in main()
H A Dalpn.cc60 grpc_slice cert_slice, key_slice; in main() local
62 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in main()
66 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
81 grpc_slice_unref(cert_slice); in main()
/dports/devel/grpc130/grpc-1.30.2/test/core/bad_ssl/servers/
H A Dcert.cc37 grpc_slice cert_slice, key_slice; in main() local
43 grpc_load_file("src/core/tsi/test_creds/badserver.pem", 1, &cert_slice))); in main()
50 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
58 grpc_slice_unref(cert_slice); in main()
H A Dalpn.cc59 grpc_slice cert_slice, key_slice; in main() local
61 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in main()
65 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in main()
80 grpc_slice_unref(cert_slice); in main()
/dports/devel/grpc134/grpc-1.34.1/test/core/end2end/
H A Dh2_ssl_session_reuse_test.cc52 grpc_slice ca_slice, cert_slice, key_slice; in server_create() local
56 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in server_create()
62 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_create()
77 grpc_slice_unref(cert_slice); in server_create()
85 grpc_slice ca_slice, cert_slice, key_slice; in client_create() local
89 "load_file", grpc_load_file(CLIENT_CERT_PATH, 1, &cert_slice))); in client_create()
95 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in client_create()
123 grpc_slice_unref(cert_slice); in client_create()
/dports/devel/grpc/grpc-1.42.0/test/core/end2end/
H A Dh2_ssl_session_reuse_test.cc54 grpc_slice ca_slice, cert_slice, key_slice; in server_create() local
58 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in server_create()
64 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_create()
79 grpc_slice_unref(cert_slice); in server_create()
87 grpc_slice ca_slice, cert_slice, key_slice; in client_create() local
91 "load_file", grpc_load_file(CLIENT_CERT_PATH, 1, &cert_slice))); in client_create()
97 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in client_create()
125 grpc_slice_unref(cert_slice); in client_create()
/dports/devel/grpc130/grpc-1.30.2/test/core/end2end/
H A Dh2_ssl_session_reuse_test.cc52 grpc_slice ca_slice, cert_slice, key_slice; in server_create() local
56 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in server_create()
62 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_create()
77 grpc_slice_unref(cert_slice); in server_create()
85 grpc_slice ca_slice, cert_slice, key_slice; in client_create() local
89 "load_file", grpc_load_file(CLIENT_CERT_PATH, 1, &cert_slice))); in client_create()
95 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in client_create()
123 grpc_slice_unref(cert_slice); in client_create()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/test/core/security/
H A Dssl_server_fuzzer.cc72 grpc_slice ca_slice, cert_slice, key_slice; in LLVMFuzzerTestOneInput() local
74 cert_slice = grpc_slice_from_static_string(test_server1_cert); in LLVMFuzzerTestOneInput()
80 (const char*)GRPC_SLICE_START_PTR(cert_slice); in LLVMFuzzerTestOneInput()
114 grpc_slice_unref(cert_slice); in LLVMFuzzerTestOneInput()
/dports/devel/grpc/grpc-1.42.0/test/core/security/
H A Dssl_server_fuzzer.cc72 grpc_slice ca_slice, cert_slice, key_slice; in LLVMFuzzerTestOneInput() local
76 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in LLVMFuzzerTestOneInput()
82 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in LLVMFuzzerTestOneInput()
88 grpc_slice_unref(cert_slice); in LLVMFuzzerTestOneInput()
/dports/devel/grpc134/grpc-1.34.1/test/core/security/
H A Dssl_server_fuzzer.cc72 grpc_slice ca_slice, cert_slice, key_slice; in LLVMFuzzerTestOneInput() local
76 "load_file", grpc_load_file(SERVER_CERT_PATH, 1, &cert_slice))); in LLVMFuzzerTestOneInput()
82 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in LLVMFuzzerTestOneInput()
88 grpc_slice_unref(cert_slice); in LLVMFuzzerTestOneInput()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/test/cpp/util/
H A Dcli_credentials.cc118 grpc_slice cert_slice = grpc_empty_slice(); in GetChannelCredentials() local
121 grpc_load_file(FLAGS_ssl_client_cert.c_str(), 1, &cert_slice)); in GetChannelCredentials()
123 grpc::StringFromCopiedSlice(cert_slice); in GetChannelCredentials()
124 grpc_slice_unref(cert_slice); in GetChannelCredentials()
/dports/devel/grpc130/grpc-1.30.2/test/cpp/util/
H A Dcli_credentials.cc122 grpc_slice cert_slice = grpc_empty_slice(); in GetChannelCredentials() local
125 grpc_load_file(FLAGS_ssl_client_cert.c_str(), 1, &cert_slice)); in GetChannelCredentials()
127 grpc::StringFromCopiedSlice(cert_slice); in GetChannelCredentials()
128 grpc_slice_unref(cert_slice); in GetChannelCredentials()

123