Back to home page

openssl Cross Reference



NOTE: Don't expect any of these programs to work with current OpenSSL releases, or even with later SSLeay releases.
Original README:
Some demo programs sent to me by various people

  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder ../ Parent directory - 2014-07-09 01:38:25

OpenSSL 1.0.1h 5 Jun 2014
Copyright (c) 1998-2011 The OpenSSL Project Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson All rights reserved.


folder asn1/ asn1/ - 2014-06-05 07:22:48  
folder bio/ bio/ - 2014-06-05 07:22:48

This directory contains some simple examples of the use of BIO's to simplify socket programming.

folder cms/ cms/ - 2014-06-05 09:41:31  
folder easy_tls/ easy_tls/ - 2014-06-05 07:22:48

easy_tls - generic SSL/TLS proxy
(... and example for non-blocking SSL/TLS I/O multiplexing.)
easy_tls.c, easy_tls.h:


folder eay/ eay/ - 2014-06-05 07:22:48  
folder engines/ engines/ - 2014-06-05 07:22:48  
folder maurice/ maurice/ - 2014-06-05 07:22:48

From Maurice Gittens <> -- Example programs, demonstrating some basic SSLeay crypto library operations, to help you not to make the same mistakes I did.
The following files are present. - loadkeys.c Demonstrates the loading and of public and private keys. - loadkeys.h The interface for loadkeys.c - example1.c Demonstrates the sealing and opening API's - example2.c Demonstrates rsa encryption and decryption - example3.c Demonstrates the use of symmetric block ciphers - example4.c Demonstrates base64 and decoding - Makefile A makefile you probably will have to adjust for your environment - README this file


folder pkcs12/ pkcs12/ - 2014-06-05 09:41:31

PKCS#12 demo applications
Written by Steve Henson.

folder prime/ prime/ - 2014-06-05 07:22:48  
folder sign/ sign/ - 2014-06-05 07:22:48  
folder smime/ smime/ - 2014-06-05 09:41:31  
folder ssl/ ssl/ - 2014-06-05 07:22:48  
folder ssltest-ecc/ ssltest-ecc/ - 2014-06-05 07:22:48

Scripts for using ECC ciphersuites with test/testssl (these ciphersuites are described in the Internet Draft available at
Use,, to generate root, client and server certs of the following types:
ECC certs signed with ECDSA RSA certs signed with RSA ECC certs signed with RSA
Afterwards, you can use to run the various tests; specify one of the following options:
aecdh, ecdh-ecdsa, ecdhe-ecdsa, ecdh-rsa, ecdhe-rsa

folder state_machine/ state_machine/ - 2014-06-05 07:22:48  
folder tunala/ tunala/ - 2014-06-05 09:41:31

This is intended to be an example of a state-machine driven SSL application. It acts as an SSL tunneler (functioning as either the server or client half, depending on command-line arguments). *PLEASE* read the comments in tunala.h before you treat this stuff as anything more than a curiosity - YOU HAVE BEEN WARNED!! There, that's the draconian bit out of the way ...
Why "tunala"??


folder x509/ x509/ - 2014-06-05 07:22:48

This directory contains examples of how to contruct various X509 structures. Certificates, certificate requests and CRLs.

README 267 bytes 2014-06-05 07:22:48 -  
b64.c 7274 bytes 2014-06-05 07:22:48 2014-07-09 01:54:15 310 bytes 2014-06-05 07:22:48 2014-07-09 01:54:15  
privkey.pem 497 bytes 2014-06-05 07:22:48 -  
selfsign.c 3684 bytes 2014-06-05 07:22:48 2014-07-09 01:54:15


spkigen.c 3813 bytes 2014-06-05 07:22:48 2014-07-09 01:54:15