Home
last modified time | relevance | path

Searched refs:key_cert_pair (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/src/cpp/server/
Dsecure_server_credentials.cc111 for (auto key_cert_pair = options.pem_key_cert_pairs.begin(); in SslServerCredentials() local
112 key_cert_pair != options.pem_key_cert_pairs.end(); key_cert_pair++) { in SslServerCredentials()
113 grpc_ssl_pem_key_cert_pair p = {key_cert_pair->private_key.c_str(), in SslServerCredentials()
114 key_cert_pair->cert_chain.c_str()}; in SslServerCredentials()
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_channel_credentials.c146 grpc_ssl_pem_key_cert_pair key_cert_pair; in grpc_rb_channel_credentials_init() local
148 MEMZERO(&key_cert_pair, grpc_ssl_pem_key_cert_pair, 1); in grpc_rb_channel_credentials_init()
164 key_cert_pair.private_key = RSTRING_PTR(pem_private_key); in grpc_rb_channel_credentials_init()
165 key_cert_pair.cert_chain = RSTRING_PTR(pem_cert_chain); in grpc_rb_channel_credentials_init()
166 creds = grpc_ssl_credentials_create(pem_root_certs_cstr, &key_cert_pair, in grpc_rb_channel_credentials_init()
/external/grpc-grpc/test/core/end2end/
Dh2_ssl_cert_test.cc158 grpc_ssl_pem_key_cert_pair* key_cert_pair = NULL; \
161 key_cert_pair = &self_signed_client_key_cert_pair; \
164 key_cert_pair = &signed_client_key_cert_pair; \
167 key_cert_pair = &bad_client_key_cert_pair; \
172 ssl_creds = grpc_ssl_credentials_create(test_root_cert, key_cert_pair, \
/external/grpc-grpc/src/objective-c/GRPCClient/private/
DGRPCHost.m196 grpc_ssl_pem_key_cert_pair key_cert_pair;
199 key_cert_pair.private_key = privateKeyASCII.bytes;
200 key_cert_pair.cert_chain = certChainASCII.bytes;
201 creds = grpc_ssl_credentials_create(rootsASCII.bytes, &key_cert_pair, NULL, NULL);
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc657 SSL_CTX* context, const tsi_ssl_pem_key_cert_pair* key_cert_pair, in populate_ssl_context() argument
660 if (key_cert_pair != nullptr) { in populate_ssl_context()
661 if (key_cert_pair->cert_chain != nullptr) { in populate_ssl_context()
662 result = ssl_ctx_use_certificate_chain(context, key_cert_pair->cert_chain, in populate_ssl_context()
663 strlen(key_cert_pair->cert_chain)); in populate_ssl_context()
669 if (key_cert_pair->private_key != nullptr) { in populate_ssl_context()
670 result = ssl_ctx_use_private_key(context, key_cert_pair->private_key, in populate_ssl_context()
671 strlen(key_cert_pair->private_key)); in populate_ssl_context()
/external/grpc-grpc/src/csharp/ext/
Dgrpc_csharp_ext.c934 grpc_ssl_pem_key_cert_pair key_cert_pair; in grpcsharp_ssl_credentials_create() local
936 key_cert_pair.cert_chain = key_cert_pair_cert_chain; in grpcsharp_ssl_credentials_create()
937 key_cert_pair.private_key = key_cert_pair_private_key; in grpcsharp_ssl_credentials_create()
938 return grpc_ssl_credentials_create(pem_root_certs, &key_cert_pair, NULL, in grpcsharp_ssl_credentials_create()
/external/grpc-grpc/test/core/end2end/fuzzers/
Dapi_fuzzer.cc221 grpc_ssl_pem_key_cert_pair key_cert_pair = {private_key, certs}; in read_ssl_channel_creds() local
224 private_key != nullptr && certs != nullptr ? &key_cert_pair : nullptr, in read_ssl_channel_creds()