The ssl module provides a Sconeserver stream that performs encryption/decryption using the OpenSSL library (http://www.openssl.org). It can be used as follows:
server.channel.add ( "ssl", SSLChannel_id : String )
The ssl stream encrypts outgoing data and decrypts incoming data. Multiple SSLChannels are supported by the module, allowing different encryption settings. The channel id should be passed as an argument with the connection.
In addition to the standard module interface, it also has the following:
|channels||List of SSLChannel||List of defined SSL channels|
- add ( SSLChannel_id : String, mode : Int ) [Admin]
- Adds an SSL channel. By default, channels are created in server mode. Specifying mode=1 creates a client mode channel, which can be used for outgoing SSL connections. The default configuration file for the ssl module creates a default client channel called "client".
- remove ( SSLChannel_id : String ) [Admin]
- Removes an SSL channel.