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 where it is difficult to debug. 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:
|
Set the DBKEY creation parameter to the encryption key when creating and 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:
|
Set the DBKEY creation parameter to the encryption key when creating and 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:
|
Set the DBKEY creation parameter to the encryption key when creating and 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:
|
Set the DBKEY creation parameter to the encryption key when creating and 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:
|
Set the DBKEY creation parameter to the encryption key when creating and 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:
|
Set the DBKEY creation parameter to the encryption key when creating and connecting to the database. Call the EnableAesDBEncryption method. |
Not applicable |
Linux (UltraLite C/C++) |
Link against:
|
Set the DBKEY creation parameter to the encryption key when creating and connecting to the database. Call the EnableAesDBEncryption method. |
Not applicable |
Android (UltraLiteJ) |
Add to your Android project:
|
Set the DBKEY creation parameter to the encryption key when creating and connecting to the database. |
Not applicable |
BlackBerry (UltraLiteJ) |
Deploy:
|
Not applicable |
Not applicable |
1 For Windows Mobile, this file is located in %SQLANY12%\UltraLite\CE\Arm.50\Lib. For Windows, it is located in %SQLANY12%\UltraLite\Windows\x64\Lib\VS8 or %SQLANY12%\UltraLite\Windows\x86\Lib\VS8.
2 For Windows Mobile, this file is located in %SQLANY12%\UltraLite\CE\Arm.50. For Windows, it is located in %SQLANY12%\UltraLite\Windows\x64 or %SQLANY12%\UltraLite\Windows\x86.
3 This file is located in /opt/sqlanywhere12/ultralite/linux/x86/586/lib.
4 This file is located in %SQLANY12%\UltraLite\UltraLiteJ\Android\ARM.
5 This file is located in %SQLANY12%\UltraLite\UltraLiteJ\Android.
6 For Windows Mobile, this file is located in %SQLANY12%\UltraLite\UltraLite.NET\CE\Arm.50. For Windows, it is located in %SQLANY12%\UltraLite\UltraLite.NET\x64 or %SQLANY12%\UltraLite\UltraLite.NET\win32.
7 This file is located in %SQLANY12%\UltraLite\UltraLite.NET\Assembly\V2.
8 This file is located in %SQLANY12%\UltraLite\UltraLite.NET\Assembly\V2\en.
9 For Mac OS X, this file is located in /Applications/SQLAnywhere12/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:
11 This file is located in %SQLANY12%\UltraLite\UltraLiteJ\BlackBerry4.2.
-DUL_USE_DLL |
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:
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 |
|
ECC TLS |
"tls" |
tls_type=ecc |
|
ECC HTTPS |
"https" |
tls_type=ecc |
|
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 encryption options | Protocol option requirements | Method call requirements for UltraLite C and C++ |
---|---|---|
ZLIB compression |
|
|
RSA E2EE |
|
|
ECC 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 | ECC TLS, ECC HTTPS, and ECC E2EE requirements | RSA FIPS 140-2 TLS, RSA FIPS 140-2 ECC, and RSA FIPS E2EE requirements |
---|---|---|---|---|
Windows Mobile and desktop (UltraLite C/C++ using static linkage) |
None |
Link against:
|
Link against:
|
Deploy:
|
Windows Mobile and desktop (UltraLite C/C++ using dynamic linkage) |
Deploy:
|
Deploy:
|
Deploy:
|
Deploy:
|
Windows Mobile and desktop (UltraLite C/C++ with the UltraLite engine) |
Deploy:
|
Deploy:
|
Deploy:
|
Deploy:
|
Windows Mobile and desktop (UltraLite.NET) |
Deploy:
|
Deploy:
|
Deploy:
|
Deploy:
|
Windows Mobile and desktop (UltraLite.NET with the UltraLite engine) |
Deploy:
|
Deploy:
|
Deploy:
|
Deploy:
|
Mac OS X and iOS (UltraLite C/C++) |
None |
None |
Not applicable |
Not applicable |
Linux (UltraLite C/C++) |
None |
Link against:
|
Link against:
|
Not applicable |
Android (UltraLiteJ) |
None |
Deploy:
|
Not applicable |
Not applicable |
BlackBerry (UltraLiteJ) |
Not applicable |
Not applicable |
Not applicable |
Not applicable |
1 For Windows Mobile, this file is located in %SQLANY12%\UltraLite\CE\Arm.50\Lib. For Windows, it is located in %SQLANY12%\UltraLite\Windows\x64\Lib\VS8 or %SQLANY12%\UltraLite\Windows\x86\Lib\VS8.
2 For Windows Mobile, this file is located in %SQLANY12%\CE\Arm.50. For Windows, it is located in %SQLANY12%\Windows\x64 or %SQLANY12%\Windows\x86.
3 This file is located in /opt/sqlanywhere12/ultralite/linux/x86/586/lib.
4 This file is located in %SQLANY12%\UltraLite\UltraLiteJ\Android\ARM.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |