Lines Matching refs:X509
664 static int X509_get_signature_nid(const X509 *x) in X509_get_signature_nid()
730 X509 *x509 = (X509 *)rsrc->ptr; in php_x509_free()
792 static X509 * php_openssl_x509_from_zval(zval * val, int makeresource, zend_resource **resourceval);
798 static STACK_OF(X509) * load_all_certs_from_file(char *certfile);
1574 static X509 * php_openssl_x509_from_zval(zval * val, int makeresource, zend_resource **resourceval) in php_openssl_x509_from_zval()
1576 X509 *cert = NULL; in php_openssl_x509_from_zval()
1596 return (X509*)what; in php_openssl_x509_from_zval()
1628 cert = (X509 *) PEM_ASN1_read_bio((d2i_of_void *)d2i_X509, PEM_STRING_X509, in, NULL, NULL, NULL); in php_openssl_x509_from_zval()
1630 cert = (X509 *) PEM_ASN1_read_bio((char *(*)())d2i_X509, PEM_STRING_X509, in, NULL, NULL, NULL); in php_openssl_x509_from_zval()
1647 X509 * cert; in PHP_FUNCTION()
1968 X509 * cert; in PHP_FUNCTION()
2005 zend_string* php_openssl_x509_fingerprint(X509 *peer, const char *method, zend_bool raw) in php_openssl_x509_fingerprint()
2033 X509 *cert; in PHP_FUNCTION()
2067 X509 * cert = NULL; in PHP_FUNCTION()
2169 X509 * cert = NULL; in PHP_FUNCTION()
2322 static STACK_OF(X509) * load_all_certs_from_file(char *certfile) in STACK_OF() argument
2325 STACK_OF(X509) *stack=NULL, *ret=NULL; in STACK_OF()
2376 static int check_cert(X509_STORE *ctx, X509 *x, STACK_OF(X509) *untrustedchain, int purpose) in check_cert()
2403 X509 * cert = NULL; in PHP_FUNCTION()
2404 STACK_OF(X509) * untrustedchain = NULL; in PHP_FUNCTION()
2518 X509 *x509; in PHP_FUNCTION()
2539 X509 *cert; in PHP_FUNCTION()
2544 if ((cert = (X509 *)zend_fetch_resource(Z_RES_P(x509), "OpenSSL X.509", le_x509)) == NULL) { in PHP_FUNCTION()
2554 static void php_sk_X509_free(STACK_OF(X509) * sk) /* {{{ */ in php_sk_X509_free()
2557 X509* x = sk_X509_pop(sk); in php_sk_X509_free()
2565 static STACK_OF(X509) * php_array_to_X509_sk(zval * zcerts) /* {{{ */ in STACK_OF() argument
2568 STACK_OF(X509) * sk = NULL; in STACK_OF()
2569 X509 * cert; in STACK_OF()
2618 X509 * cert = NULL; in PHP_FUNCTION()
2630 STACK_OF(X509) *ca = NULL; in PHP_FUNCTION()
2702 X509 * cert = NULL; in PHP_FUNCTION()
2712 STACK_OF(X509) *ca = NULL; in PHP_FUNCTION()
2779 X509 * cert = NULL; in PHP_FUNCTION()
2780 STACK_OF(X509) * ca = NULL; in PHP_FUNCTION()
2833 X509* aCA = sk_X509_pop(ca); in PHP_FUNCTION()
3178 X509 * cert = NULL, *new_cert = NULL; in PHP_FUNCTION()
3503 X509 * cert = NULL; in php_openssl_evp_from_zval()
3561 cert = (X509*)what; in php_openssl_evp_from_zval()
4529 STACK_OF(X509) *signers= NULL; in PHP_FUNCTION()
4530 STACK_OF(X509) *others = NULL; in PHP_FUNCTION()
4641 STACK_OF(X509) * recipcerts = NULL; in PHP_FUNCTION()
4646 X509 * cert; in PHP_FUNCTION()
4769 X509 * cert = NULL; in PHP_FUNCTION()
4774 STACK_OF(X509) *others = NULL; in PHP_FUNCTION()
4875 X509 * cert = NULL; in PHP_FUNCTION()