Database Encryption Key Management Functions
[Database Functions]


Functions

FLMEXP RCODE FLMAPI FlmEnableEncryption (HFDB hDb, FLMBYTE **ppucWrappingKey, FLMUINT32 *pui32KeyLen)
 Enable encryption for a database.
FLMEXP RCODE FLMAPI FlmDbWrapKey (HFDB hDb, const char *pszPassword)
 Wrap a database's encryption key in a password.

Function Documentation

FLMEXP RCODE FLMAPI FlmDbWrapKey HFDB  hDb,
const char *  pszPassword
 

Wrap a database's encryption key in a password.

Parameters:
hDb  Database handle.
pszPassword  Password to wrap the database key in. May be NULL to wrap the key in the NICI local storage key. NOTE: Once the database key has been wrapped in a password, that password must be supplied to FlmDbOpen() when opening the database.

FLMEXP RCODE FLMAPI FlmEnableEncryption HFDB  hDb,
FLMBYTE **  ppucWrappingKey,
FLMUINT32 *  pui32KeyLen
 

Enable encryption for a database.

Parameters:
hDb  Database handle.
ppucWrappingKey  This returns a pointer to a buffer containing the database key wrapped in the NICI local storage key. FlmEnableEncryption() allocates memory for this buffer. The memory must be freed by calling FlmFreeMem().
pui32KeyLen  Length of data in *ppucWrappingKey.


Generated on Wed Oct 4 12:11:43 2006 for FLAIM by  doxygen 1.4.6