Contents Index UlSecureRSASocketStream synchronization parameters Using UltraLite Static Interfaces

UltraLite Database User's Guide
   Synchronization for UltraLite Applications
    Stream parameters reference

UlSecureSocketStream synchronization parameters


Transport-layer security using Certicom elliptic-curve encryption is accessed from static Java applications as a separate stream, accessed using the UlSecureSocketStream object.

Separately-licensable option required 
Use of Certicom technology requires that you obtain the separately-licensable SQL Anywhere Studio security option and is subject to export regulations. For more information on this option, see Welcome to SQL Anywhere Studio.

For more information, see stream synchronization parameter, and Using transport-layer security.

Stream parameters 

The parameters for the UlSecureSocketStream are supplied in an semicolon-separated string. These parameters are chosen from the following table:

Parameter Description
certificate_company The UltraLite application only accepts server certificates when the organization field on the certificate matches this value. By default, this field is not checked.
certificate_unit The UltraLite application only accepts server certificates when the organization unit field on the certificate matches this value. By default, this field is not checked.
certificate_name The UltraLite application only accepts server certificates when the common name field on the certificate matches this value. By default, this field is not checked.
client_port=nnnnn

client_port=nnnnn-mmmmm

A range of client ports for communication. If only one value is specified, the end of the range is 100 greater than the initial value, for a total of 101 ports. The option can be useful for clients inside a firewall communicating with a MobiLink synchronization server outside the firewall.
host=hostname The host name or IP number for the machine on which the MobiLink synchronization server is running. The default value is localhost, except on Windows CE.

For Windows CE, the default setting corresponds to the desktop machine where the CE device's cradle is connected, which is stored as the ipaddr entry in the registry folder Comm\Tcpip\Hosts\ppp_peer. Do not use localhost, which refers to the device itself, on Windows CE.

For the Palm Computing Platform, the default value of localhost refers to the device itself. You should supply an explicit host name or IP address to connect to a desktop machine.

port=portnumber The socket port number on the host machine. The port number must be a decimal number that matches the port the MobiLink synchronization server is setup to monitor. The default value for the port parameter is 2439, which is the IANA registered port number for the MobiLink synchronization server.

Contents Index UlSecureRSASocketStream synchronization parameters Using UltraLite Static Interfaces