sconemad

technology, scones, nonsense

Loading...

Profiles

Twitter

GitHub

Launchpad

Subscribe to my RSS Feed

Admin

ssl

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.

SconeScript

In addition to the standard module interface, it also has the following:

Properties

Name Type Descripion
channels List of SSLChannel List of defined SSL channels

Methods

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.
Updated on 2013-11-01 15:37:26 +0000 | Requested on 2021-05-12 17:45:51 +0000