The SciSslSocketInterface provides a Smalltalk application with a set of classes and methods to construct tasks that use the Secure Socket Layer and/or Transport Layer Security protocols to provide secure communications over TCP/IP.Binaries are readily available on most platforms and Source/Documentation can be found at http://www.openssl.org. Installation instructions for most platforms are provided. Another excellent source of information are the various mailing lists that exist for OpenSSL users and developers to share information. There are instructions at the above url for joining the list, or you can search archives for answers to your questions.
1. Check the documentation or source code for the function for which you wish to add support. Visit http://www.openssl.org/docs or, if you've compiled the OpenSSL library yourself, check the man pages.
2. Create a new application which has a prerequisite of SciSslSocketInterface, this is where your extended functionality should live.
3.
4. Extend the SciSslOpenSSLLibraryDispatcher class from SciSslOpenSSLInterface subapplication and add new calls. These calls will reference your new functions and constants.
• For example, if you add a new function beginning with SSL_CTX, then it is the responsibility of the OSSslCtx context object to actually perform the call. Therefore, this class should be extended in the new application.
• If the developer creates new functions that require the creation of a new OSObject, the developer should create the a new OSObject that subclasses either OSSslCryptoStructure of OSSciSslStructure depending on which OpenSSL shared library the function lives in (i.e. the crypto library or the SSL/TLS library).
|