SSLjiamisuanfa

所属分类:加密解密
开发工具:Visual C++
文件大小:1423KB
下载次数:66
上传日期:2008-04-01 22:17:48
上 传 者管理员
说明:  SSL加密传输实例。VC6和LINUX下的C++编程示例VC6的示例在WIN_VC6_example目录下。VC6的例子为一个客户机方TLS编程的示例,该程序运行于client1上。 LINUX下的C++示例在linux_C++_example目录下。该例子包含服务器方和客户机方的代码,但只调通了服务器方的代码(使用服务器的证书)。如果需要运行客户机方,只要创建客户机方的证书即可。
(err)

文件列表:
ssllinux_C++_example (0, 2005-03-19)
ssllinux_C++_example\cer (0, 2002-12-04)
ssllinux_C++_example\client.c (1288, 2002-10-28)
ssllinux_C++_example\client.h (177, 2002-11-21)
ssllinux_C++_example\client.pem (3103, 2002-11-21)
ssllinux_C++_example\common.c (1997, 2002-10-29)
ssllinux_C++_example\common.h (768, 2005-03-19)
ssllinux_C++_example\common.h.bak (778, 2002-11-22)
ssllinux_C++_example\config.cache (1340, 2002-10-28)
ssllinux_C++_example\config.log (1117, 2002-10-28)
ssllinux_C++_example\config.status (4984, 2002-10-28)
ssllinux_C++_example\configure (50466, 2002-10-28)
ssllinux_C++_example\configure.in (4694, 2002-10-28)
ssllinux_C++_example\dh1024.pem (245, 2002-11-20)
ssllinux_C++_example\Makefile (1249, 2002-10-28)
ssllinux_C++_example\Makefile.in (1148, 2002-10-28)
ssllinux_C++_example\openssl生成证书 (0, 2005-03-19)
ssllinux_C++_example\openssl生成证书\genclient (323, 2002-12-02)
ssllinux_C++_example\openssl生成证书\gendh (68, 2002-12-02)
ssllinux_C++_example\openssl生成证书\genroot (158, 2002-12-02)
ssllinux_C++_example\openssl生成证书\genserver (325, 2002-12-02)
ssllinux_C++_example\openssl生成证书\myopenssl.cnf (7151, 2002-12-02)
ssllinux_C++_example\openssl生成证书\rootcert.srl (3, 2002-12-02)
ssllinux_C++_example\part1.pdf (102073, 2002-10-28)
ssllinux_C++_example\part2.pdf (133160, 2002-10-28)
ssllinux_C++_example\read_write.c (4390, 2002-10-28)
ssllinux_C++_example\read_write.h (90, 2002-10-28)
ssllinux_C++_example\root.pem (1127, 2002-12-02)
ssllinux_C++_example\RUNNING (4061, 2002-10-28)
ssllinux_C++_example\sclient (770225, 2002-10-29)
ssllinux_C++_example\sclient.c (1663, 2002-10-28)
ssllinux_C++_example\server.c (1143, 2002-10-28)
ssllinux_C++_example\server.h (275, 2002-12-02)
ssllinux_C++_example\server.pem (3233, 2002-12-02)
ssllinux_C++_example\ssl.doc (35840, 2005-03-19)
ssllinux_C++_example\wclient (766344, 2002-11-22)
ssllinux_C++_example\wclient.c (2925, 2002-11-22)
ssllinux_C++_example\wclient2 (767207, 2002-10-29)
ssllinux_C++_example\wclient2.c (3842, 2002-10-28)
... ...

OpenSSL Example Programs 20020110 by Eric Rescorla January 10, 2002 Edition Copyright (C) 2001 RTFM, Inc. INTRODUCTION This is a set of example programs demonstrating how to perform basic tasks with OpenSSL. There are five programs: wclient -- a simple web client emulator wserver -- a simple web server emulator wclient2 -- a version of wclient with some extra options including setting the cipher suite and session caching. wserver2 -- a version of wserver2 with some extra options including setting the cipher suite, client authentication, rehandshake, and session caching. sclient -- a simple client program that echos from the keyboard to the server and vice versa. sclient is a simple model of a terminal client such as Telnet. See the file RUNNING for documentation on the command line switches for these programs. DOCUMENTATION Although the programs are extensively commented they are not completely self-explanatory. Rather, they are intended to be used as a companion to a series of articles published in Linux Journal. The first article was published in the September issue and is included here as part1.pdf. The second article was published on the web in early October and is included here as part2.pdf This explains why we have both wclient and wclient2 (and wserver and wserver2). The first editions appear in the first article and the second ones in the second article. This structure also lets the reader learn the basics without advanced features getting in the way. BUILDING These programs are designed to build with GNU autoconf. With any luck you can build simply by doing ./configure make If the configure script can't find OpenSSL, it will exit with an error. If your OpenSSL is in a nonstandard location, you will need to give configure a hint with the '--with-openssl' or '--with-openssl-{lib,include}' switches. If you have some problem building this software, please send a bug report to . LICENSE Copyright (C) 2000-2001 RTFM, Inc. All Rights Reserved This package is a series of demonstration programs written by Eric Rescorla and licensed by RTFM, Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of RTFM, Inc. nor the name of Eric Rescorla may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE ERIC RESCORLA AND RTFM ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SHAMELESS PLUG Extremely detailed coverage of SSL/TLS can be found in _SSL_and_TLS:_Designing_and_Building_Secure_Systems_ Eric Rescorla Addison-Wesley, 2001 ISBN 0-201-615***-3 The original versions of these programs appeared in that book.

近期下载者

相关文件


收藏者