Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - C and C++ Programming » UltraLite C/C++ Common API Reference

ULCreateDatabase function Next Page

ULEnableEccSyncEncryption function

Enables ECC encryption for SSL or TLS streams. This is required when set a stream parameter to TLS or HTTPS. In this case, you must also set the synchronization parameter tls_type as ECC.


void ULEnableEccSyncEncryption( SQLCA * sqlca );


sqlca    A pointer to the initialized SQLCA.

In the C++ API use the Sqlca.GetCA method.


You can use this function in C++ API applications as well as embedded SQL applications. You must call this function before the Synchronize function. If you attempt to synchronize without a preceding call to enable the synchronization type, the error SQLE_METHOD_CANNOT_BE_CALLED occurs.

Separately licensed component required

ECC encryption and FIPS-certified encryption require a separate license. All strong encryption technologies are subject to export regulations.

See Separately licensed components.

See also