Home
last modified time | relevance | path

Searched refs:alpn_protocols (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.h111 const char** alpn_protocols, uint16_t num_alpn_protocols,
136 const char** alpn_protocols; member
207 const char** alpn_protocols, uint16_t num_alpn_protocols,
221 const char* cipher_suites, const char** alpn_protocols,
248 const char** alpn_protocols; member
Dssl_transport_security.cc719 const char** alpn_protocols, uint16_t num_alpn_protocols, in build_alpn_protocol_name_list() argument
728 alpn_protocols[i] == nullptr ? 0 : strlen(alpn_protocols[i]); in build_alpn_protocol_name_list()
741 size_t length = strlen(alpn_protocols[i]); in build_alpn_protocol_name_list()
743 memcpy(current, alpn_protocols[i], length); in build_alpn_protocol_name_list()
1624 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory() argument
1631 options.alpn_protocols = alpn_protocols; in tsi_create_ssl_client_handshaker_factory()
1698 options->alpn_protocols, options->num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory_with_options()
1737 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_server_handshaker_factory() argument
1743 cipher_suites, alpn_protocols, num_alpn_protocols, factory); in tsi_create_ssl_server_handshaker_factory()
1750 const char* cipher_suites, const char** alpn_protocols, in tsi_create_ssl_server_handshaker_factory_ex() argument
[all …]
/external/python/cpython2/Modules/
D_ssl.c319 unsigned char *alpn_protocols; member
2231 self->alpn_protocols = NULL; in context_new()
2309 PyMem_FREE(self->alpn_protocols); in context_dealloc()
2441 ctx->alpn_protocols, ctx->alpn_protocols_len, in _selectALPN_cb()
2455 PyMem_FREE(self->alpn_protocols); in _set_alpn_protocols()
2456 self->alpn_protocols = PyMem_Malloc(protos.len); in _set_alpn_protocols()
2457 if (!self->alpn_protocols) in _set_alpn_protocols()
2459 memcpy(self->alpn_protocols, protos.buf, protos.len); in _set_alpn_protocols()
2463 if (SSL_CTX_set_alpn_protos(self->ctx, self->alpn_protocols, self->alpn_protocols_len)) in _set_alpn_protocols()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc1050 options.alpn_protocols =
1105 gpr_free((void*)options.alpn_protocols);
1109 gpr_free((void*)options.alpn_protocols);
/external/python/cpython3/Modules/
D_ssl.c412 unsigned char *alpn_protocols; member
3011 self->alpn_protocols = NULL; in _ssl__SSLContext_impl()
3155 PyMem_FREE(self->alpn_protocols); in context_dealloc()
3332 ctx->alpn_protocols, ctx->alpn_protocols_len, in _selectALPN_cb()
3355 PyMem_FREE(self->alpn_protocols); in _ssl__SSLContext__set_alpn_protocols_impl()
3356 self->alpn_protocols = PyMem_Malloc(protos->len); in _ssl__SSLContext__set_alpn_protocols_impl()
3357 if (!self->alpn_protocols) in _ssl__SSLContext__set_alpn_protocols_impl()
3359 memcpy(self->alpn_protocols, protos->buf, protos->len); in _ssl__SSLContext__set_alpn_protocols_impl()
3362 if (SSL_CTX_set_alpn_protos(self->ctx, self->alpn_protocols, self->alpn_protocols_len)) in _ssl__SSLContext__set_alpn_protocols_impl()
/external/python/cpython2/Lib/
Dssl.py382 def set_alpn_protocols(self, alpn_protocols): argument
384 for protocol in alpn_protocols:
/external/grpc-grpc/test/core/tsi/
Dssl_transport_security_test.cc121 client_options.alpn_protocols = alpn_lib->client_alpn_protocols; in ssl_test_setup_handshakers()
138 server_options.alpn_protocols = alpn_lib->server_alpn_protocols; in ssl_test_setup_handshakers()
/external/python/cpython3/Lib/
Dssl.py449 def set_alpn_protocols(self, alpn_protocols): argument
451 for protocol in alpn_protocols:
/external/python/cpython2/Lib/test/
Dtest_ssl.py1781 npn_protocols=None, alpn_protocols=None, argument
1797 if alpn_protocols:
1798 self.context.set_alpn_protocols(alpn_protocols)
/external/python/cpython3/Lib/test/
Dtest_ssl.py2378 npn_protocols=None, alpn_protocols=None, argument
2394 if alpn_protocols:
2395 self.context.set_alpn_protocols(alpn_protocols)