Use encryption communication parameters to ensure end to end encryption and eliminate any WAP gap security problems.
You can use the Client Object API to set up end to end encryption, supported by
Ultralite, and HTTPS items in the synchronization profile.
Encryption and compression are
enabled by default.
Refer to the following APIs when setting up end to end encryption and compression support:
- Sybase.Persistence.ConnectionProfile.StreamParams
- Sybase.Persistence.NetworkStreamParams.E2ee_Public_Key
- Sybase.Persistence.NetworkStreamParams.E2ee_Type
- Sybase.Persistence.NetworkStreamParams.Tls_Type
- Sybase.Persistence.NetworkStreamParams.Trusted_Certificates
- Sybase.Persistence.NetworkStreamParams.Trusted_Certificates
- Sybase.Persistence.NetworkStreamParams.Url_Suffix
- Sybase.Persistence.NetworkStreamParams.Zlib_Download_Window_Size
- Sybase.Persistence.NetworkStreamParams.Zlib_Upload_Window_Size
-
Sybase.Persistence.NetworkStreamParams.Compression
The following code
example shows how to enable E2EE for the SMP101 package:
ConnectionProfile conn=SMP101DB.GetSynchronizationProfile();
conn.NetworkProtocol = "HTTP";
conn.PortNumber = 2480;
conn.StreamParams().E2ee_Type = "rsa";
conn.StreamParams().E2ee_Public_Key = "e2ee_public_key.key";
conn.Save();