Creating versioned key
To create a versioned key
Use the I_C_CreateKey API to create a versioned key. Append the # to the key name. For example, if the key name is MyKey, the parameter, keyName should be passed as: MyKey#. 
To create a non-versioned key
You can use the I_C_CreateKey API to create a non-versioned key too.
To create a random key
Use the I_C_CreateKey API and pass NULL or "" as the keyName.