Lines Matching refs:X509
688 static int X509_get_signature_nid(const X509 *x) in X509_get_signature_nid()
766 X509 *x509 = (X509 *)rsrc->ptr; in php_openssl_x509_free()
827 static X509 * php_openssl_x509_from_zval(zval * val, int makeresource, zend_resource **resourceval);
833 static STACK_OF(X509) * php_openssl_load_all_certs_from_file(char *certfile);
1664 static X509 * php_openssl_x509_from_zval(zval * val, int makeresource, zend_resource **resourceval) in php_openssl_x509_from_zval()
1666 X509 *cert = NULL; in php_openssl_x509_from_zval()
1687 return (X509*)what; in php_openssl_x509_from_zval()
1718 cert = (X509 *) PEM_ASN1_read_bio((d2i_of_void *)d2i_X509, PEM_STRING_X509, in, NULL, NULL, NULL); in php_openssl_x509_from_zval()
1720 cert = (X509 *) PEM_ASN1_read_bio((char *(*)())d2i_X509, PEM_STRING_X509, in, NULL, NULL, NULL); in php_openssl_x509_from_zval()
1745 X509 * cert; in PHP_FUNCTION()
2089 X509 * cert; in PHP_FUNCTION()
2134 zend_string* php_openssl_x509_fingerprint(X509 *peer, const char *method, zend_bool raw) in php_openssl_x509_fingerprint()
2163 X509 *cert; in PHP_FUNCTION()
2197 X509 * cert = NULL; in PHP_FUNCTION()
2300 X509 * cert = NULL; in PHP_FUNCTION()
2459 static STACK_OF(X509) *php_openssl_load_all_certs_from_file(char *certfile) in STACK_OF() argument
2462 STACK_OF(X509) *stack=NULL, *ret=NULL; in STACK_OF()
2516 static int check_cert(X509_STORE *ctx, X509 *x, STACK_OF(X509) *untrustedchain, int purpose) in check_cert()
2551 X509 * cert = NULL; in PHP_FUNCTION()
2552 STACK_OF(X509) * untrustedchain = NULL; in PHP_FUNCTION()
2669 X509 *x509; in PHP_FUNCTION()
2690 X509 *cert; in PHP_FUNCTION()
2695 if ((cert = (X509 *)zend_fetch_resource(Z_RES_P(x509), "OpenSSL X.509", le_x509)) == NULL) { in PHP_FUNCTION()
2705 static void php_sk_X509_free(STACK_OF(X509) * sk) /* {{{ */ in php_sk_X509_free()
2708 X509* x = sk_X509_pop(sk); in php_sk_X509_free()
2716 static STACK_OF(X509) * php_array_to_X509_sk(zval * zcerts) /* {{{ */ in STACK_OF() argument
2719 STACK_OF(X509) * sk = NULL; in STACK_OF()
2720 X509 * cert; in STACK_OF()
2771 X509 * cert = NULL; in PHP_FUNCTION()
2783 STACK_OF(X509) *ca = NULL; in PHP_FUNCTION()
2866 X509 * cert = NULL; in PHP_FUNCTION()
2876 STACK_OF(X509) *ca = NULL; in PHP_FUNCTION()
2954 X509 * cert = NULL; in PHP_FUNCTION()
2955 STACK_OF(X509) * ca = NULL; in PHP_FUNCTION()
3012 X509* aCA = sk_X509_pop(ca); in PHP_FUNCTION()
3379 X509 * cert = NULL, *new_cert = NULL; in PHP_FUNCTION()
3730 X509 * cert = NULL; in php_openssl_evp_from_zval()
3788 cert = (X509*)what; in php_openssl_evp_from_zval()
5022 STACK_OF(X509) *signers= NULL; in PHP_FUNCTION()
5023 STACK_OF(X509) *others = NULL; in PHP_FUNCTION()
5171 STACK_OF(X509) * recipcerts = NULL; in PHP_FUNCTION()
5176 X509 * cert; in PHP_FUNCTION()
5307 STACK_OF(X509) *certs = NULL; in PHP_FUNCTION()
5360 X509* ca = sk_X509_value(certs, i); in PHP_FUNCTION()
5408 X509 * cert = NULL; in PHP_FUNCTION()
5413 STACK_OF(X509) *others = NULL; in PHP_FUNCTION()
5525 X509 * cert = NULL; in PHP_FUNCTION()