Exporting a symmetric versioned key
To export a symmetric versioned key
Call the I_C_ExportSymmetricKey API to export the default version of a versioned key, or a specific version.
When no version is specified, this API uses the latest active version. When a specific version is appended
(#n), that version is used.
Example
rc = I_C_ExportSymmetricKey(session, my_version_key, &keyBytes,&keyBytesLen);
rc = I_C_ExportSymmetricKey(session, "my_versioned_key#4", &keyBytes,&keyBytesLen);