Home
last modified time | relevance | path

Searched refs:cert_config (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dcredentials.pyx.pxi259 cdef ServerCertificateConfig cert_config = ServerCertificateConfig()
260 cert_config.references.append(pem_root_certs)
261 cert_config.references.append(pem_key_cert_pairs)
262 cert_config.c_pem_root_certs = _get_c_pem_root_certs(pem_root_certs)
263 cert_config.c_ssl_pem_key_cert_pairs_count = len(pem_key_cert_pairs)
264 cert_config.c_ssl_pem_key_cert_pairs = _create_c_ssl_pem_key_cert_pairs(pem_key_cert_pairs)
265 cert_config.c_cert_config = grpc_ssl_server_certificate_config_create(
266 cert_config.c_pem_root_certs, cert_config.c_ssl_pem_key_cert_pairs,
267 cert_config.c_ssl_pem_key_cert_pairs_count)
268 return cert_config
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_server_ssl_cert_config_test.py105 def configure(self, should_raise, cert_config): argument
106 assert not (should_raise and cert_config), (
111 self._cert_config = cert_config
289 cert_config = grpc.ssl_server_certificate_configuration(
293 self.cert_config_fetcher.configure(False, cert_config)
304 self.assertEqual(call.returned_cert_config, cert_config,
371 cert_config = grpc.ssl_server_certificate_configuration(
375 grpc.dynamic_ssl_server_credentials(cert_config, None)
377 grpc.dynamic_ssl_server_credentials(cert_config, 1)
/external/grpc-grpc/src/core/lib/security/credentials/ssl/
Dssl_credentials.cc301 grpc_ssl_server_certificate_config* cert_config = in grpc_ssl_server_credentials_create_ex() local
306 client_certificate_request, cert_config); in grpc_ssl_server_credentials_create_ex()