Searched refs:key_cert_pair (Results 1 – 7 of 7) sorted by relevance
/third_party/grpc/src/objective-c/GRPCClient/private/GRPCCore/ |
D | GRPCSecureChannelFactory.m | 77 grpc_ssl_pem_key_cert_pair key_cert_pair; 80 key_cert_pair.private_key = privateKeyASCII.bytes; 81 key_cert_pair.cert_chain = certChainASCII.bytes; 82 if (key_cert_pair.private_key == NULL || key_cert_pair.cert_chain == NULL) { 85 creds = grpc_ssl_credentials_create(rootsASCII.bytes, &key_cert_pair, NULL, NULL);
|
/third_party/grpc/src/ruby/ext/grpc/ |
D | rb_channel_credentials.c | 152 grpc_ssl_pem_key_cert_pair key_cert_pair; in grpc_rb_channel_credentials_init() local 154 MEMZERO(&key_cert_pair, grpc_ssl_pem_key_cert_pair, 1); in grpc_rb_channel_credentials_init() 177 key_cert_pair.private_key = RSTRING_PTR(pem_private_key); in grpc_rb_channel_credentials_init() 178 key_cert_pair.cert_chain = RSTRING_PTR(pem_cert_chain); in grpc_rb_channel_credentials_init() 179 creds = grpc_ssl_credentials_create(pem_root_certs_cstr, &key_cert_pair, in grpc_rb_channel_credentials_init()
|
/third_party/grpc/src/cpp/server/ |
D | secure_server_credentials.cc | 111 for (const auto& key_cert_pair : options.pem_key_cert_pairs) { in SslServerCredentials() local 112 grpc_ssl_pem_key_cert_pair p = {key_cert_pair.private_key.c_str(), in SslServerCredentials() 113 key_cert_pair.cert_chain.c_str()}; in SslServerCredentials()
|
/third_party/grpc/test/core/end2end/ |
D | h2_ssl_cert_test.cc | 169 grpc_ssl_pem_key_cert_pair* key_cert_pair = NULL; \ 172 key_cert_pair = &self_signed_client_key_cert_pair; \ 175 key_cert_pair = &signed_client_key_cert_pair; \ 178 key_cert_pair = &bad_client_key_cert_pair; \ 183 ssl_creds = grpc_ssl_credentials_create(test_root_cert, key_cert_pair, \
|
/third_party/grpc/src/csharp/ext/ |
D | grpc_csharp_ext.c | 1035 grpc_ssl_pem_key_cert_pair key_cert_pair; in grpcsharp_ssl_credentials_create() local 1041 memset(&key_cert_pair, 0, sizeof(key_cert_pair)); in grpcsharp_ssl_credentials_create() 1042 key_cert_pair.cert_chain = key_cert_pair_cert_chain; in grpcsharp_ssl_credentials_create() 1043 key_cert_pair.private_key = key_cert_pair_private_key; in grpcsharp_ssl_credentials_create() 1044 key_cert_pair_ptr = &key_cert_pair; in grpcsharp_ssl_credentials_create()
|
/third_party/grpc/src/core/tsi/ |
D | ssl_transport_security.cc | 792 SSL_CTX* context, const tsi_ssl_pem_key_cert_pair* key_cert_pair, in populate_ssl_context() argument 795 if (key_cert_pair != nullptr) { in populate_ssl_context() 796 if (key_cert_pair->cert_chain != nullptr) { in populate_ssl_context() 797 result = ssl_ctx_use_certificate_chain(context, key_cert_pair->cert_chain, in populate_ssl_context() 798 strlen(key_cert_pair->cert_chain)); in populate_ssl_context() 804 if (key_cert_pair->private_key != nullptr) { in populate_ssl_context() 805 result = ssl_ctx_use_private_key(context, key_cert_pair->private_key, in populate_ssl_context() 806 strlen(key_cert_pair->private_key)); in populate_ssl_context()
|
/third_party/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.h | 91 tsi_ssl_pem_key_cert_pair* key_cert_pair, const char* pem_root_certs,
|