Back to index

php5  5.3.10
php_openssl.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1997-2012 The PHP Group                                |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.txt                                  |
00011    | If you did not receive a copy of the PHP license and are unable to   |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@php.net so we can mail you a copy immediately.               |
00014    +----------------------------------------------------------------------+
00015    | Authors: Stig Venaas <venaas@php.net>                                |
00016    |          Wez Furlong <wez@thebrainroom.com                           |
00017    +----------------------------------------------------------------------+
00018  */
00019 
00020 /* $Id: php_openssl.h 321634 2012-01-01 13:15:04Z felipe $ */
00021 
00022 #ifndef PHP_OPENSSL_H
00023 #define PHP_OPENSSL_H
00024 /* HAVE_OPENSSL would include SSL MySQL stuff */
00025 #ifdef HAVE_OPENSSL_EXT
00026 extern zend_module_entry openssl_module_entry;
00027 #define phpext_openssl_ptr &openssl_module_entry
00028 
00029 php_stream_transport_factory_func php_openssl_ssl_socket_factory;
00030 
00031 PHP_MINIT_FUNCTION(openssl);
00032 PHP_MSHUTDOWN_FUNCTION(openssl);
00033 PHP_MINFO_FUNCTION(openssl);
00034 
00035 PHP_FUNCTION(openssl_pkey_get_private);
00036 PHP_FUNCTION(openssl_pkey_get_public);
00037 PHP_FUNCTION(openssl_pkey_free);
00038 PHP_FUNCTION(openssl_pkey_new);
00039 PHP_FUNCTION(openssl_pkey_export);
00040 PHP_FUNCTION(openssl_pkey_export_to_file);
00041 PHP_FUNCTION(openssl_pkey_get_details);
00042 
00043 PHP_FUNCTION(openssl_sign);
00044 PHP_FUNCTION(openssl_verify);
00045 PHP_FUNCTION(openssl_seal);
00046 PHP_FUNCTION(openssl_open);
00047 PHP_FUNCTION(openssl_private_encrypt);
00048 PHP_FUNCTION(openssl_private_decrypt);
00049 PHP_FUNCTION(openssl_public_encrypt);
00050 PHP_FUNCTION(openssl_public_decrypt);
00051 
00052 PHP_FUNCTION(openssl_pkcs7_verify);
00053 PHP_FUNCTION(openssl_pkcs7_decrypt);
00054 PHP_FUNCTION(openssl_pkcs7_sign);
00055 PHP_FUNCTION(openssl_pkcs7_encrypt);
00056 
00057 PHP_FUNCTION(openssl_error_string);
00058 
00059 PHP_FUNCTION(openssl_x509_read);
00060 PHP_FUNCTION(openssl_x509_free);
00061 PHP_FUNCTION(openssl_x509_parse);
00062 PHP_FUNCTION(openssl_x509_checkpurpose);
00063 PHP_FUNCTION(openssl_x509_export);
00064 PHP_FUNCTION(openssl_x509_export_to_file);
00065 PHP_FUNCTION(openssl_x509_check_private_key);
00066 
00067 PHP_FUNCTION(openssl_pkcs12_export);
00068 PHP_FUNCTION(openssl_pkcs12_export_to_file);
00069 PHP_FUNCTION(openssl_pkcs12_read);
00070 
00071 PHP_FUNCTION(openssl_csr_new);
00072 PHP_FUNCTION(openssl_csr_export);
00073 PHP_FUNCTION(openssl_csr_export_to_file);
00074 PHP_FUNCTION(openssl_csr_sign);
00075 PHP_FUNCTION(openssl_csr_get_subject);
00076 PHP_FUNCTION(openssl_csr_get_public_key);
00077 #else
00078 
00079 #define phpext_openssl_ptr NULL
00080 
00081 #endif
00082 
00083 #endif
00084 
00085 /*
00086  * Local variables:
00087  * tab-width: 4
00088  * c-basic-offset: 4
00089  * End:
00090  */