c_examples
所属分类:网络编程
开发工具:Visual C++
文件大小:15KB
下载次数:19
上传日期:2009-02-16 23:34:22
上 传 者:
xchung
说明: this is about ssl to connect the server and client use in c
文件列表:
c_examples\client.c (1220, 2000-10-09)
c_examples\client.h (171, 2000-10-09)
c_examples\client.pem (1826, 2000-10-09)
c_examples\common.c (1928, 2000-10-09)
c_examples\common.h (575, 2000-10-09)
c_examples\dh1024.pem (245, 2000-10-09)
c_examples\echo.c (849, 2000-10-09)
c_examples\echo.h (72, 2000-10-09)
c_examples\Makefile (723, 2000-10-09)
c_examples\mserver.c (823, 2000-10-09)
c_examples\pclient.c (3026, 2000-10-09)
c_examples\random.pem (6646, 2000-10-09)
c_examples\rclient.c (1152, 2000-10-09)
c_examples\read_write.c (2467, 2000-10-09)
c_examples\read_write.h (90, 2000-10-09)
c_examples\root.pem (1099, 2000-10-09)
c_examples\sclient.c (726, 2000-10-09)
c_examples\server.c (1121, 2000-10-09)
c_examples\server.h (241, 2000-10-09)
c_examples\server.pem (1859, 2000-10-09)
c_examples\sserver.c (894, 2000-10-09)
c_examples (0, 2009-01-03)
"SSL and TLS" C Examples
This distribution contains the C source files for Eric Rescorla's
"SSL and TLS".
This software is Copyright (C) Eric Rescorla.
You are granted a right to use or redistribute this software for any
purpose and without fee, with or without attribution, provided that
you agree that this software is provided "as is" and without any
express or implied warranties, including, without limitation, the
implied warranties of merchantablity and fitness for a particular
purpose.
BUILDING
You will need to edit the Makefile to point to your OpenSSL distribution.
Edit the OPENSSLDIR macro to point to the root of your OpenSSL distribution.
Then run a make. This should build the binaries in your directory.
This code was explicitly written to be portable, but has only been
tested on FreeBSD. If you successfully build on another platform,
please let me know so I can make appropriate adjustments
or comments.
FILES
The source files are all described in "SSL and TLS"
This distribution also contains sample key files which will work with
this program. These keys are DSS/DH keys built with OpenSSL. You
should be able to substitute RSA keys without any difficulty, but
I don't provide any.
client.pem -- keys for the client
server.pem -- keys for the server
root.pem -- the root CA list
dh1024.pem -- the DH group
random.pem -- This file just needs to contain some ostensibly unpredictable
data. I've used the contents of my /var/log/messages file.
For real security, the file must be unpredictable by an attacker.
近期下载者:
相关文件:
收藏者: