I have started writing an extension/wrapper for GnuTLS integration with PHP and 
was wondering
if there is any interest in eventually adding the extension to PECL.

It requires Sockets to set up the initial connection. After the connection is 
established, GnuTLS
can then be used to secure the connection with TLS.

The wrapper currently supports the following GnuTLS functions:

PHP_FUNCTION(gnutls_bye);
PHP_FUNCTION(gnutls_certificate_allocate_credentials);
PHP_FUNCTION(gnutls_certificate_get_peers);
PHP_FUNCTION(gnutls_certificate_set_verify_flags);
PHP_FUNCTION(gnutls_certificate_set_x509_trust_file);
PHP_FUNCTION(gnutls_certificate_set_x509_trust_mem);
PHP_FUNCTION(gnutls_certificate_type_get);
PHP_FUNCTION(gnutls_certificate_verify_peers2);
PHP_FUNCTION(gnutls_certificate_verify_peers3);
PHP_FUNCTION(gnutls_check_version);
PHP_FUNCTION(gnutls_cipher_get);
PHP_FUNCTION(gnutls_cipher_get_key_size);
PHP_FUNCTION(gnutls_compression_get);
PHP_FUNCTION(gnutls_compression_get_name);
PHP_FUNCTION(gnutls_credentials_set);
PHP_FUNCTION(gnutls_crt_deinit);
PHP_FUNCTION(gnutls_crt_init);
PHP_FUNCTION(gnutls_deinit);
PHP_FUNCTION(gnutls_error_is_fatal);
PHP_FUNCTION(gnutls_handshake);
PHP_FUNCTION(gnutls_init);
PHP_FUNCTION(gnutls_priority_set_direct);
PHP_FUNCTION(gnutls_record_recv);
PHP_FUNCTION(gnutls_record_send);
PHP_FUNCTION(gnutls_socket);
PHP_FUNCTION(gnutls_strerror);
PHP_FUNCTION(gnutls_strerror_name);
PHP_FUNCTION(gnutls_transport_set_ptr);
PHP_FUNCTION(gnutls_x509_crt_init);
PHP_FUNCTION(gnutls_x509_crt_deinit);
PHP_FUNCTION(gnutls_x509_crt_export);
PHP_FUNCTION(gnutls_x509_crt_get_dn);
PHP_FUNCTION(gnutls_x509_crt_get_version);
PHP_FUNCTION(gnutls_x509_crt_get_issuer);
PHP_FUNCTION(gnutls_x509_crt_get_activation_time);
PHP_FUNCTION(gnutls_x509_crt_get_expiration_time);
PHP_FUNCTION(gnutls_x509_crt_get_serial);
PHP_FUNCTION(gnutls_x509_crt_get_signature);
PHP_FUNCTION(gnutls_x509_crt_get_signature_algorithm);
PHP_FUNCTION(gnutls_x509_crt_import);
PHP_FUNCTION(gnutls_x509_crt_check_hostname);
PHP_FUNCTION(gnutls_x509_crt_print);

Thank you,

Patrick

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to