Home
last modified time | relevance | path

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

/PHP-8.0/ext/openssl/tests/
H A Dstream_crypto_flags_002.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_TLSv1_1_CLIENT);
50 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
53 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.phpt18 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_0_SERVER,
50 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
54 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
58 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
H A Dsession_meta_capture.phpt44 …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);
52 …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.phpt43 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
46 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dstreams_crypto_method.phpt44 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT,
H A Dbug74159.phpt21 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_2_SERVER,
/PHP-8.0/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.c352 …port_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *s… in php_stream_xport_crypto_setup() argument
359 param.inputs.method = crypto_method; in php_stream_xport_crypto_setup()
/PHP-8.0/ext/soap/
H A Dphp_http.c283 int crypto_method = STREAM_CRYPTO_METHOD_SSLv23_CLIENT; in http_connect() local
288 crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT; in http_connect()
292 crypto_method = STREAM_CRYPTO_METHOD_SSLv2_CLIENT; in http_connect()
296 crypto_method = STREAM_CRYPTO_METHOD_SSLv3_CLIENT; in http_connect()
300 crypto_method = STREAM_CRYPTO_METHOD_SSLv23_CLIENT; in http_connect()
304 crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT; in http_connect()
308 if (php_stream_xport_crypto_setup(stream, crypto_method, NULL) < 0 || in http_connect()
/PHP-8.0/ext/openssl/
H A Dxp_ssl.c2553 php_stream_context *ctx, zend_long crypto_method) /* {{{ */ in php_openssl_get_crypto_method() argument
2558 crypto_method = zval_get_long(val); in php_openssl_get_crypto_method()
2559 crypto_method |= STREAM_CRYPTO_IS_CLIENT; in php_openssl_get_crypto_method()
2562 return crypto_method; in php_openssl_get_crypto_method()
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php1276 function stream_socket_enable_crypto($stream, bool $enable, ?int $crypto_method = null, $session_st… argument
H A Dbasic_functions_arginfo.h1934 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, crypto_method, IS_LONG, 1, "null")

Completed in 44 milliseconds