Lines Matching refs:cert_str
653 zend_object *cert_obj, zend_string *cert_str, uint32_t arg_num);
1456 zend_string *cert_str, uint32_t arg_num, bool is_from_array, const char *option_name) { in php_openssl_x509_from_str() argument
1461 if (ZSTR_LEN(cert_str) > 7 && memcmp(ZSTR_VAL(cert_str), "file://", sizeof("file://") - 1) == 0) { in php_openssl_x509_from_str()
1462 …if (!php_openssl_check_path_str_ex(cert_str, cert_path, arg_num, true, is_from_array, option_name)… in php_openssl_x509_from_str()
1473 in = BIO_new_mem_buf(ZSTR_VAL(cert_str), (int) ZSTR_LEN(cert_str)); in php_openssl_x509_from_str()
1505 zend_object *cert_obj, zend_string *cert_str, uint32_t arg_num) { in php_openssl_x509_from_param() argument
1510 ZEND_ASSERT(cert_str); in php_openssl_x509_from_param()
1512 return php_openssl_x509_from_str(cert_str, arg_num, false, NULL); in php_openssl_x509_from_param()
1542 zend_string *cert_str; in PHP_FUNCTION() local
1550 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
1558 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
1588 if (cert_str) { in PHP_FUNCTION()
1848 zend_string *cert_str; in PHP_FUNCTION() local
1854 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
1862 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
1890 if (cert_str) { in PHP_FUNCTION()
1927 zend_string *cert_str; in PHP_FUNCTION() local
1934 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
1940 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
1953 if (cert_str) { in PHP_FUNCTION()
1963 zend_string *cert_str; in PHP_FUNCTION() local
1968 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
1972 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
1985 if (cert_str) { in PHP_FUNCTION()
1996 zend_string *cert_str; in PHP_FUNCTION() local
2002 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
2006 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
2021 if (cert_str) { in PHP_FUNCTION()
2105 zend_string *cert_str; in PHP_FUNCTION() local
2123 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
2128 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
2257 if (cert_str) { in PHP_FUNCTION()
2266 if (cert_str) { in PHP_FUNCTION()
2367 zend_string *cert_str; in PHP_FUNCTION() local
2377 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
2397 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
2409 if (cert_str) { in PHP_FUNCTION()
2503 zend_string *cert_str; in PHP_FUNCTION() local
2506 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
2509 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
2604 zend_string *cert_str; in PHP_FUNCTION() local
2618 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
2628 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
2696 if (cert_str) { in PHP_FUNCTION()
2707 zend_string *cert_str; in PHP_FUNCTION() local
2719 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
2729 cert = php_openssl_x509_from_param(cert_obj, cert_str, 1); in PHP_FUNCTION()
2784 if (cert_str) { in PHP_FUNCTION()
3239 zend_string *cert_str; in PHP_FUNCTION() local
3252 Z_PARAM_OBJ_OF_CLASS_OR_STR_OR_NULL(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
3271 if (cert_str || cert_obj) { in PHP_FUNCTION()
3272 cert = php_openssl_x509_from_param(cert_obj, cert_str, 2); in PHP_FUNCTION()
3406 if (cert_str && cert && cert != new_cert) { in PHP_FUNCTION()
5985 zend_string *cert_str; in PHP_FUNCTION() local
6004 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
6030 cert = php_openssl_x509_from_param(cert_obj, cert_str, 3); in PHP_FUNCTION()
6093 if (cert && cert_str) { in PHP_FUNCTION()
6631 zend_string *cert_str; in PHP_FUNCTION() local
6652 Z_PARAM_OBJ_OF_CLASS_OR_STR(cert_obj, php_openssl_certificate_ce, cert_str) in PHP_FUNCTION()
6679 cert = php_openssl_x509_from_param(cert_obj, cert_str, 3); in PHP_FUNCTION()
6802 if (cert && cert_str) { in PHP_FUNCTION()