Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » MobiLink - Client Administration » Introduction to MobiLink Clients » MobiLink client network protocol options

 

tls_type

Specify the encryption cipher to use for synchronization.

Composants nécessaires sous licence distincte

Les cryptages ECC et certifié FIPS exigent une licence distincte. Toutes les technologies de cryptage fort sont soumises à la réglementation en matière d'exportation.

Pour plus d'informations, reportez-vous à la section Separately licensed components.

Syntax
tls_type=cipher
Protocols
Default

RSA

Remarks

All communication for this synchronization is to be encrypted using the specified cipher. The cipher can be one of:

  • ecc   for elliptic-curve encryption.

  • rsa   for RSA encryption.

For information about how to set network protocol options with dbmlsync, see CommunicationAddress (adr) extended option.

See also
Example

The following example sets up RSA encryption for a TCP/IP protocol. This requires setup on the server and client. Each command must be written on one line.

On the server, the implementation is:

mlsrv11  
  -c "dsn=SQL Anywhere 11 Demo;uid=DBA;pwd=sql" 
  -x tls(
    port=9999;
    tls_type=rsa;
    identity=c:\sa10\bin32\rsaserver.id;
    identity_password=test )

On a SQL Anywhere client, the implementation is:

dbmlsync -e 
   "CommunicationType=tls;
    CommunicationAddress=
      'tls_type=rsa;
       trusted_certificates=\rsaroot.crt;
       certificate_name=RSA Server'"

In an UltraLite application written in embedded SQL in C or C++, the implementation is:

     info.stream = "tls";
     info.stream_parms = TEXT(
      "tls_type=rsa;
       trusted_certificates=\rsaroot.crt;
       certificate_name=RSA Server");