our %MX_RC=( # /* Return codes from public apis. Not all apis return all codes. See documentation for more details. */ 'SSL_SUCCESS' => 0, #/* Generic success */ 'SSL_ERROR' => -1, #/* generic ssl error, see error code */ 'SSL_FULL' => -2, #/* must call sslRead before decoding */ 'SSL_PARTIAL' => -3, #/* more data reqired to parse full msg */ 'SSL_SEND_RESPONSE' => -4, #/* decode produced output data */ 'SSL_PROCESS_DATA' => -5, #/* succesfully decoded application data */ 'SSL_ALERT' => -6, #/* we've decoded an alert */ 'SSL_FILE_NOT_FOUND' => -7 #/* File not found */ ); }
Crypt::MatrixSSL - Perl extension for SSL and TLS using MatrixSSL.org
use Crypt::MatrixSSL; (See the MatrixSSL documentation, or the mxgg.pl sample script included in this package) Some documentation is also included in POD format in the .xs file.
Crypt::MatrixSSL lets you use the MatrixSSL crypto library (see http://matrixssl.org/) from Perl. With this module, you will be able to easily write SSL and TLS client and server programs.
MatrixSSL includes everything you need, all in under 50KB.
You will need a "C" compiler to build this, unless you're getting the ".ppm" prebuilt Win32 version. Crypt::MatrixSSL builds cleanly on (at least) Windows, Linux, and Macintosh machines.
MatrixSSL is an Open Source (GNU Public License) product, and is also available commercially if you need freedom from GNU rules.
Everything you need is included here, but check the MatrixSSL.org web site to make sure you've got the latest version of the MatrixSSL "C" code if you like (it's in the directory "./matrixssl" of this package if you want to replace the included version from the MatrixSSL.org download site.)
None by default.
http://www.MatrixSSL.org - the download from this site includes simple yet comprehensive documentation in PDF format.
C. N. Drake, <email@example.com>
MatrixSSL is distrubed under the GNU Public License:- http://www.gnu.org/copyleft/gpl.html
Crypt::MatrixSSL uses MatrixSSL, and so inherits the same License.
Copyright (C) 2005 by C. N. Drake.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.