Encryption and Trusted Certificates for Data Synchronization

Perform this procedure when using end-to-end encryption for synchronization with Unwired Server.

The public keys need to be encapsulated in a PEM encoded X.509 certificate and be supplied with an E2EE private key. This certificate needs to be included in the Resource folder in the application Xcode project. The e2ee_public_key option needs to be specified in the network stream parameter, either in the Sybase Control Center Application Connection Properties, or in the application code itself. For details about encryption on iPhone, see the Ultralite documentation at:http://dcx.sybase.com/index.html#1201/en/ulc/ulc-component-iphone-build-include.html

When using HTTPS for synchronization with Unwired Server, perform these steps.

  1. Include trusted certificates in the Resource folder in the application Xcode project.
  2. Specify the trusted_certificates option in the network stream parameter, either in the Sybase Control Center Application Connection Properties, or in the application code. For example:
    SUPConnectionProfile *sp = [SUP101SUP101DB getSynchronizationProfile];
    [sp setNetworkStreamParams:@"e2ee_type=rsa;e2ee_public_key=publickeyCertificate;trusted_certificates=trustedCertificate"];