Searched refs:cert_slice (Results 1 – 8 of 8) sorted by relevance
/external/grpc-grpc/test/core/handshake/ |
D | verify_peer_options.cc | 55 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 …]
|
D | server_ssl_common.cc | 75 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()
|
D | client_ssl.cc | 241 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/ |
D | cert.cc | 38 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/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | ssl_server_fuzzer.cc | 72 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()
|
/external/grpc-grpc/test/core/security/ |
D | ssl_server_fuzzer.cc | 72 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/ |
D | cli_credentials.cc | 118 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()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/ |
D | grpc_tls_certificate_provider.cc | 316 SliceWrapper key_slice, cert_slice; in ReadIdentityKeyCertPairFromFiles() local 326 grpc_load_file(identity_certificate_path.c_str(), 0, &cert_slice.slice); in ReadIdentityKeyCertPairFromFiles() 334 std::string cert_chain(StringViewFromSlice(cert_slice.slice)); in ReadIdentityKeyCertPairFromFiles()
|