UltraLite Embedded SQL User's Guide
Embedded SQL Library Functions
ul_bool ULRetrieveEncryptionKey(
ul_char * key,
ul_u_short len,
ul_u_long * creator,
ul_u_long * feature-num );
On the Palm Computing Platform the encryption key is saved in dynamic memory as a Palm feature. Features are indexed by creator and a feature number.
This function retrieves the encryption key from memory.
key A pointer to a buffer in which to hold the retrieved encryption key.
len The length of the buffer that holds the encryption key with a terminating null character.
creator A pointer to the creator ID of the feature holding the encryption key. A value of NULL is the default.
feature-num A pointer to the feature number holding the encryption key. A value of NULL uses the UltraLite default, which is feature number 100.
true if the operation is successful.
false if the operation is unsuccessful. This occurs if the feature was not found or if the supplied buffer length is insufficient to hold the key plus a terminating null character.
Using the encryption key on the Palm Computing Platform