MobiLink 的 UltraLite 客户端应用程序必须配置为使用启用 TLS 的同步。传送层安全支持加密、篡改检测和基于证书的验证。请参见传送层安全。
RSA、ECC 和 FIPS 加密并非在所有平台上均可用。有关哪些平台支持哪种加密方法的信息,请参见 http://www.sybase.com/detail?id=1061806。
通过调用您的应用程序代码中的以下函数之一启用加密同步:
若要启用 RSA 加密,请调用 ULEnableRsaSyncEncryption。请参见ULEnableRsaSyncEncryption 方法。
若要启用 ECC 加密,请调用 ULEnableEccSyncEncryption。请参见ULEnableEccSyncEncryption 方法。
将同步信息流设置为 TLS 或 HTTPS。
如果要启用 ECC 或 FIPS 加密,还必须:
确保您已链接到适当的库:
平台 | 链接 | RSA 加密 | ECC 加密 | FIPS 加密 |
---|---|---|---|---|
Windows 桌面操作系统 | 静态1 | ulrsa.lib | ulecc.lib | 无 |
Windows 桌面操作系统 | 动态2 | 无 | 无 | 无 |
Windows Mobile | 静态1 | ulrsa.lib | ulecc.lib | 无 |
Windows Mobile | 动态1 | 无 | 无 | 无 |
1 您还必须链接到 ulimp.lib。
确保将适当的文件复制到设备:
平台 | 链接 | RSA 加密 | ECC 加密 | FIPS 加密 |
---|---|---|---|---|
Windows 桌面操作系统 | 静态 | 无 | 无 |
mlcrsafips12.dll sbgse2.dll |
Windows 桌面操作系统 | 动态1 | mlcrsa12.dll | mlcecc12.dll |
mlcrsafips12.dll sbgse2.dll |
Windows Mobile | 静态 | 无 | 无 |
mlcrsafips12.dll sbgse2.dll |
Windows Mobile | 动态1 | mlcrsa12.dll | mlcecc12.dll |
mlcrsafips12.dll sbgse2.dll |
Windows Mobile 组件和 UltraLite 引擎 | 静态2 | mlcrsa12.dll | mlcecc12.dll |
mlcrsafips12.dll sbgse2.dll |
1 您还必须部署 ulrt12.dll。
2 您还必须部署组件 .dll 文件和/或 uleng12.exe。
![]() |
使用DocCommentXchange 讨论此页。
|
版权 © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |