See Release Notes
Long Term Support Release
PayPal enrolment plugin utility class.
Copyright: | 2016 Cameron Ball <cameron@cameron1729.xyz> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 117 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
util:: (3 methods):
get_min_ssl_lib_version_for_tls12()
validate_php_curl_tls()
can_use_tls12()
get_min_ssl_lib_version_for_tls12($sslflavour) X-Ref |
Gets the minimum version of a SSL/TLS library required for TLS 1.2 support. param: string $sslflavour The SSL/TLS library return: string|false The version string if it exists. False otherwise |
validate_php_curl_tls(array $curlinfo, $zts) X-Ref |
Validates PHP/cURL extension for use with SSL/TLS. param: array $curlinfo array of cURL information as returned by curl_version() param: int $zts 0 or 1 as defined by PHP_ZTS return: bool |
can_use_tls12(array $curlinfo, $uname) X-Ref |
Tests if the system is capable of using TLS 1.2 for requests. param: array $curlinfo array of cURL information as returned by curl_version() param: string $uname server uname return: bool |