Developing Secure Applications
This section explains how to write new applications and how to port existing applications.
Writing New Secure Sockets Applications
In general, to write new secure applications, you must:
8. Write an application that sends and receives secure messages.
Porting Existing Networking Package Applications to the Secure Sockets Package
NOTE >> SSL/TLS is defined to work only over TCP/IP sockets. UDP sockets cannot be used with SSL/TLS.
To port existing Networking package applications to the Secure Sockets package, follow these steps:
5. Modify class names:
NOTE >> Some RWSocket methods are not supported by RWSecureSocket.
6. Associate the
RWSecureSocketContext with a socket, a portal, or a listener. Use either the constructor, the
connect() method, the
bind() method, the
accept() method, or the
setContext() method.