Home
last modified time | relevance | path

Searched refs:crypto_method (Results 1 – 14 of 14) sorted by relevance

/php-src/ext/openssl/tests/
H A Dstream_crypto_flags_002.phpt45 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
51 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
54 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dstream_crypto_flags_003.phpt21 … 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_0_SERVER | STREAM_CRYPTO_METHOD_TLSv1_2_SERVER,
48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
51 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
54 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
H A Dstream_crypto_flags_004.phpt19 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_0_SERVER,
51 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
55 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
59 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
H A Dsession_meta_capture.phpt45 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
49 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
53 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
H A Dsession_meta_capture_tlsv13.phpt19 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_3_SERVER,
41 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT);
H A Dstream_crypto_flags_001.phpt44 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
47 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dstreams_crypto_method.phpt45 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT,
H A Dbug74159.phpt22 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_2_SERVER,
/php-src/main/streams/
H A Dphp_stream_transport.h194 …port_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *s…
H A Dtransports.c357 …port_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *s… in php_stream_xport_crypto_setup() argument
364 param.inputs.method = crypto_method; in php_stream_xport_crypto_setup()
/php-src/ext/soap/
H A Dphp_http.c288 int crypto_method = STREAM_CRYPTO_METHOD_SSLv23_CLIENT; in http_connect() local
293 crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT; in http_connect()
297 crypto_method = STREAM_CRYPTO_METHOD_SSLv2_CLIENT; in http_connect()
301 crypto_method = STREAM_CRYPTO_METHOD_SSLv3_CLIENT; in http_connect()
305 crypto_method = STREAM_CRYPTO_METHOD_SSLv23_CLIENT; in http_connect()
309 crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT; in http_connect()
313 if (php_stream_xport_crypto_setup(stream, crypto_method, NULL) < 0 || in http_connect()
/php-src/ext/openssl/
H A Dxp_ssl.c2715 php_stream_context *ctx, zend_long crypto_method) /* {{{ */ in php_openssl_get_crypto_method() argument
2720 crypto_method = zval_get_long(val); in php_openssl_get_crypto_method()
2721 crypto_method |= STREAM_CRYPTO_IS_CLIENT; in php_openssl_get_crypto_method()
2724 return crypto_method; in php_openssl_get_crypto_method()
/php-src/ext/standard/
H A Dbasic_functions.stub.php3478 function stream_socket_enable_crypto($stream, bool $enable, ?int $crypto_method = null, $session_st…
H A Dbasic_functions_arginfo.h1910 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, crypto_method, IS_LONG, 1, "null")

Completed in 44 milliseconds