Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/handshake/
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
238 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in main()
[all …]
Dserver_ssl_common.cc75 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local
79 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread()
87 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in server_thread()
123 grpc_slice_unref(cert_slice); in server_thread()
Dclient_ssl.cc241 grpc_slice ca_slice, cert_slice, key_slice; in client_ssl_test() local
245 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in client_ssl_test()
253 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(cert_slice); in client_ssl_test()
301 grpc_slice_unref(cert_slice); in client_ssl_test()
/external/grpc-grpc/test/core/bad_ssl/servers/
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()
/external/grpc-grpc/test/core/security/
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()
116 grpc_slice_unref(cert_slice); in LLVMFuzzerTestOneInput()
/external/grpc-grpc/test/cpp/util/
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()