/external/rust/crates/grpcio-sys/grpc/src/core/tsi/ |
D | ssl_transport_security.h | 123 const char** alpn_protocols, uint16_t num_alpn_protocols, 148 const char** alpn_protocols; member 168 alpn_protocols(nullptr), in tsi_ssl_client_handshaker_options() 238 const char** alpn_protocols, uint16_t num_alpn_protocols, 252 const char* cipher_suites, const char** alpn_protocols, 279 const char** alpn_protocols; member 299 alpn_protocols(nullptr), in tsi_ssl_server_handshaker_options()
|
D | ssl_transport_security.cc | 857 const char** alpn_protocols, uint16_t num_alpn_protocols, in build_alpn_protocol_name_list() argument 866 alpn_protocols[i] == nullptr ? 0 : strlen(alpn_protocols[i]); in build_alpn_protocol_name_list() 879 size_t length = strlen(alpn_protocols[i]); in build_alpn_protocol_name_list() 881 memcpy(current, alpn_protocols[i], length); in build_alpn_protocol_name_list() 1885 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory() argument 1891 options.alpn_protocols = alpn_protocols; in tsi_create_ssl_client_handshaker_factory() 1965 options->alpn_protocols, options->num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory_with_options() 2008 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_server_handshaker_factory() argument 2014 cipher_suites, alpn_protocols, num_alpn_protocols, factory); in tsi_create_ssl_server_handshaker_factory() 2021 const char* cipher_suites, const char** alpn_protocols, in tsi_create_ssl_server_handshaker_factory_ex() argument [all …]
|
/external/grpc-grpc/src/core/tsi/ |
D | ssl_transport_security.h | 111 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
|
D | ssl_transport_security.cc | 719 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/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ssl/ |
D | ssl_security_connector.cc | 102 options.alpn_protocols = in InitializeHandshakerFactory() 114 gpr_free(options.alpn_protocols); in InitializeHandshakerFactory() 252 options.alpn_protocols = alpn_protocol_strings; in InitializeHandshakerFactory() 364 options.alpn_protocols = alpn_protocol_strings; in try_replace_server_handshaker_factory()
|
/external/curl/lib/vquic/ |
D | quiche.c | 259 unsigned char alpn_protocols[] = QUICHE_H3_APPLICATION_PROTOCOL; in Curl_quic_connect() local 263 while(offset < sizeof(alpn_protocols) - 1) { in Curl_quic_connect() 264 alpn_len = alpn_protocols[offset]; in Curl_quic_connect() 265 alpn_protocols[offset] = ','; in Curl_quic_connect() 270 alpn_protocols + 1); in Curl_quic_connect()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.cc | 416 options.alpn_protocols = in grpc_ssl_tsi_client_handshaker_factory_init() 430 gpr_free(options.alpn_protocols); in grpc_ssl_tsi_client_handshaker_factory_init() 455 options.alpn_protocols = alpn_protocol_strings; in grpc_ssl_tsi_server_handshaker_factory_init()
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 319 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/webrtc/rtc_base/ |
D | openssl_adapter.cc | 902 const std::vector<std::string>& alpn_protocols) { in TransformAlpnProtocols() argument 908 for (const std::string& proto : alpn_protocols) { in TransformAlpnProtocols()
|
/external/grpc-grpc/src/core/lib/security/security_connector/ |
D | security_connector.cc | 1050 options.alpn_protocols = 1105 gpr_free((void*)options.alpn_protocols); 1109 gpr_free((void*)options.alpn_protocols);
|
/external/python/cpython2/Lib/ |
D | ssl.py | 382 def set_alpn_protocols(self, alpn_protocols): argument 384 for protocol in alpn_protocols:
|
/external/grpc-grpc/test/core/tsi/ |
D | ssl_transport_security_test.cc | 121 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/Modules/ |
D | _ssl.c | 429 unsigned char *alpn_protocols; member 3172 self->alpn_protocols = NULL; in _ssl__SSLContext_impl() 3327 PyMem_FREE(self->alpn_protocols); in context_dealloc() 3504 ctx->alpn_protocols, ctx->alpn_protocols_len, in _selectALPN_cb() 3527 PyMem_FREE(self->alpn_protocols); in _ssl__SSLContext__set_alpn_protocols_impl() 3528 self->alpn_protocols = PyMem_Malloc(protos->len); in _ssl__SSLContext__set_alpn_protocols_impl() 3529 if (!self->alpn_protocols) in _ssl__SSLContext__set_alpn_protocols_impl() 3531 memcpy(self->alpn_protocols, protos->buf, protos->len); in _ssl__SSLContext__set_alpn_protocols_impl() 3534 if (SSL_CTX_set_alpn_protos(self->ctx, self->alpn_protocols, self->alpn_protocols_len)) in _ssl__SSLContext__set_alpn_protocols_impl()
|
/external/python/cpython3/Lib/ |
D | ssl.py | 544 def set_alpn_protocols(self, alpn_protocols): argument 546 for protocol in alpn_protocols:
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 1781 npn_protocols=None, alpn_protocols=None, argument 1797 if alpn_protocols: 1798 self.context.set_alpn_protocols(alpn_protocols)
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 2491 npn_protocols=None, alpn_protocols=None, argument 2507 if alpn_protocols: 2508 self.context.set_alpn_protocols(alpn_protocols)
|