This section contains tables that show the build and deployment requirements for UltraLite applications.
There may be versions of the UltraLite engine located in directories that contains the _dev suffix, such as the x86_dev directory. These versions contain development-time logging functionality that can be used to diagnose problems on platforms for debugging purposes. The logging output is intended for use by Sybase engineers rather than customers. For production systems, use a version of the engine that is not in a _dev directory.
The following table describes the minimum requirements to build and deploy an UltraLite application for all supported platforms and devices, including the requirements for UltraLite database encryption.
Platform or device | Minimum requirements | AES encryption requirements | FIPS 140-2 AES encryption requirements |
---|---|---|---|
Windows Mobile and desktop (UltraLite C/C++ using static linkage) |
Link against:
|
Use the DBKEY creation parameter to set the encryption key when creating or connecting to the database. Call the EnableAesDBEncryption method. |
Set the DBKEY creation parameter to the encryption key when creating and connecting to the database. Set the creation parameter fips=yes when creating the database. Call the EnableAesFipsDBEncryption method. Deploy:
|
Windows Mobile and desktop (UltraLite C/C++ using dynamic linkage) |
Link against:
Deploy:
|
Use the DBKEY creation parameter to set the encryption key when creating or connecting to the database. Call the EnableAesDBEncryption method. |
Set the DBKEY creation parameter to the encryption key when creating and connecting to the database. Set the creation parameter fips=yes when creating the database. Call the EnableAesFipsDBEncryption method. Deploy:
|
Windows Mobile and desktop (UltraLite C/C++ with the UltraLite engine) |
Link against:
Deploy:
|
Use the DBKEY creation parameter to set the encryption key when creating or connecting to the database. |
Set the DBKEY creation parameter to the encryption key when creating and connecting to the database. Set the creation parameter fips=yes when creating the database. Deploy:
|
Windows Mobile and desktop (UltraLite.NET) |
Add references to:
Deploy:
|
Use the DBKEY creation parameter to set the encryption key when creating or connecting to the database. |
Set the DBKEY creation parameter to the encryption key when creating and connecting to the database. Set the creation parameter fips=yes when creating the database. Deploy:
|
Windows Mobile and desktop (UltraLite.NET with the UltraLite engine) |
Add references to:
Deploy:
|
Use the DBKEY creation parameter to set the encryption key when creating or connecting to the database. |
Set the DBKEY creation parameter to the encryption key when creating and connecting to the database. Set the creation parameter fips=yes when creating the database. Deploy:
|
Mac OS X and iOS (UltraLite C/C++) |
Add to your Xcode project:
|
Use the DBKEY creation parameter to set the encryption key when creating or connecting to the database. Call the EnableAesDBEncryption method. |
Not applicable |
Linux (UltraLite C/C++) |
Link against:
|
Use the DBKEY creation parameter to set the encryption key when creating or connecting to the database. Call the EnableAesDBEncryption method. |
Not applicable |
Android (UltraLiteJ) |
Add to your Android project:
|
Use the DBKEY creation parameter or the setEncryptionKey method to set the encryption key when creating or connecting to the database. Call the EnableAesDBEncryption method. |
Not applicable |
BlackBerry (UltraLiteJ) |
Deploy:
|
Use the setEncryptionKey method to set the encryption key when creating or connecting to the database. Call the EnableAesDBEncryption method. |
Not applicable |
1 For Windows Mobile, this file is located in %SQLANY16%\UltraLite\CE\Arm.50\Lib. For Windows, it is located in %SQLANY16%\UltraLite\Windows\x64\Lib\VS9 or %SQLANY16%\UltraLite\Windows\x86\Lib\VS9.
2 For Windows Mobile, this file is located in %SQLANY16%\UltraLite\CE\Arm.50. For Windows, it is located in %SQLANY16%\UltraLite\Windows\x64 or %SQLANY16%\UltraLite\Windows\x86.
3 This file is located in /opt/sqlanywhere16/ultralite/linux/x64/lib.
4 This file is located in %SQLANY16%\UltraLite\UltraLiteJ\Android\ARM.
5 This file is located in %SQLANY16%\UltraLite\UltraLiteJ\Android.
6 For Windows Mobile, this file is located in %SQLANY16%\UltraLite\UltraLite.NET\CE\Arm.50. For Windows, it is located in %SQLANY16%\UltraLite\UltraLite.NET\x64 or %SQLANY16%\UltraLite\UltraLite.NET\win32.
7 This file is located in %SQLANY16%\UltraLite\UltraLite.NET\Assembly\V2.
8 This file is located in %SQLANY16%\UltraLite\UltraLite.NET\Assembly\V2\en.
9 For Mac OS X, this file is located in /Applications/SQLAnywhere16/System/ultralite/macosx/x86_64. For iOS, UltraLite runtimes must be built after installation. Follow the instructions provided in install-dir/ultralite/iphone/readme.txt.
10 When linking against this library, define the UL_USE_DLL preprocessor macro when compiling. For example, specify the following:
-DUL_USE_DLL |
11 This file is located in %SQLANY16%\UltraLite\UltraLiteJ\BlackBerry4.2.
12Required for over-the-air (OTA) deployment only. Alternatively, you can create your own .jad file that deploys UltraLiteJ with your application.
To use UltraLite database obfuscation on any platform or device, you must specify the creation parameter obfuscate=1 when creating the database.
The following table describes the stream, protocol option, and code requirements for building and deploying an UltraLite application that uses synchronization.
The HTTPS stream option can be enabled in the UltraLiteJ API by passing the SyncParms.HTTPS_STREAM constant to the Connection.createSyncParms method
Synchronization type | Stream option specification | Protocol option requirements | Method call requirements for UltraLite C and C++ |
---|---|---|---|
TCP/IP |
"tcpip" |
None |
|
HTTP |
"http" |
None |
|
RSA TLS |
"tls" |
None |
|
RSA HTTPS |
"https" |
None |
|
RSA FIPS 140-2 TLS |
"tls" |
fips=yes |
|
RSA FIPS 140-2 HTTPS |
"https" |
fips=yes |
|
The following table describes additional protocol option and code requirements for building and deploying an UltraLite application that uses compression or end-to-end encryption:
Compression and stream encryption options | Protocol option requirements | Method call requirements for UltraLite C/C++ and UltraLiteJ |
---|---|---|
ZLIB compression |
|
|
RSA E2EE |
|
|
RSA FIPS 140-2 E2EE |
|
|
The following table illustrates additional build and deployment requirements for compression and encrypted synchronization.
There are no additional build and deployment requirements for TCP/IP and HTTP synchronization.
Platform or device | ZLIB compression requirements | RSA TLS, RSA HTTPS, and RSA E2EE requirements | RSA FIPS 140-2 TLS, RSA FIPS 140-2 HTTPS, and RSA FIPS 140-2 E2EE requirements |
---|---|---|---|
Windows Mobile and desktop (UltraLite C/C++ using static linkage) |
None |
Link against:
|
Deploy:
|
Windows Mobile and desktop (UltraLite C/C++ using dynamic linkage) |
Deploy:
|
Deploy:
|
Deploy:
|
Windows Mobile and desktop (UltraLite C/C++ with the UltraLite engine) |
Deploy:
|
Deploy:
|
Deploy:
|
Windows Mobile and desktop (UltraLite.NET) |
Deploy:
|
Deploy:
|
Deploy:
|
Windows Mobile and desktop (UltraLite.NET with the UltraLite engine) |
Deploy:
|
Deploy:
|
Deploy:
|
Mac OS X and iOS (UltraLite C/C++) |
None |
None |
Not applicable |
Linux (UltraLite C/C++) |
None |
Link against:
|
Not applicable |
Android (UltraLiteJ) |
None |
Deploy:
|
Not applicable |
BlackBerry (UltraLiteJ) |
None |
Transfer the DER encoded file using the FileTransfer interface, or store it on an SD card. |
Not applicable |
1 For Windows Mobile, this file is located in %SQLANY16%\UltraLite\CE\Arm.50\Lib. For Windows, it is located in %SQLANY16%\UltraLite\Windows\x64\Lib\VS9 or %SQLANY16%\UltraLite\Windows\x86\Lib\VS9.
2 For Windows Mobile, this file is located in %SQLANY16%\CE\Arm.50. For Windows, it is located in %SQLANY16%\Windows\x64 or %SQLANY16%\Windows\x86.
3 This file is located in /opt/sqlanywhere16/ultralite/linux/x64/lib.
4 This file is located in %SQLANY16%\UltraLite\UltraLiteJ\Android\ARM.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |