"; } return; } else { $operationInProgress = true; $status = new ReturnStatus(); // By calling this here on all the SKM pages during the post the will all get the same error. $iAkmReady = akm_servers_available($user, true); // $iAkmReady = (akm_servers_available($user) == 1); error_log("akm_servers_available returned: ". print_r($iAkmReady, true)); $cert = $_POST['cert']; $export = $_POST['export']; // used, current, selective $sel = $_POST['ExportSel']; // Text from selection field //$command_status = qkm_export($user,$keyData); switch( $export ) { case 'used': error_log("Exporting Used with $fileName"); $fileNameRet = akm_export_used_keys( $user, $cert, $fileName ); break; case 'current': error_log("Exporting current with $fileName"); $fileNameRet = akm_export_current_keys( $user, $cert, $fileName ); break; case 'selective': error_log("Exporting selective with $fileName"); // enum { NOP=0, EQ, NE, CT, GT, LT, GE, LE } eMetadataOp; $fileNameRet = akm_export_selective_keys( $user, $cert, $sel, 3, $fileName ); break; } error_log("export function returned: ". $fileNameRet ); do { // NOTE: The check progress may not be started when you call it the first time so t get around this I am doing the sleep before chacking the status. sleep(10); @reset_inactive_timer($user); $akmStatus = akm_key_export_progress($user, 0); error_log("Looped - akm_key_export_progress returned: ". print_r($akmStatus,true) ); }while( $akmStatus->status != $akmResult->StatusFinished ); error_log("\n\n\n>>>>>>>>>>>>>>>>>>>>>>>>> We have finished the progress check <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n\n\n"); error_log("\akm_key_export_progress returned: ". print_r($akmStatus,true) ); error_log("$akmStatus->status != $akmResult->StatusFinished"); if( $akmStatus->status != $akmResult->SUCCEEDED && $akmStatus->status != $akmResult->StatusFinished ) { $status->setErrorCode( $akmStatus->status ); } print $status->out(); } return; } else { $isLicensed = is_ibm_encryption_licensed($user); $akmServAvail = akm_servers_available($user); error_log( "akm_servers_available retunred: ". $akmServAvail); if( $akmServAvail == 1 && $isLicensed ) { // Load the data for the first showing $ver = akm_get_software_version($user); //!?! This has Code that checks for the new Townsedn code over the OLD error_log("akm_get_software_version returned ". print_r($ver,true) ); // Get the list of Certificates. $certList = akm_get_cert_list($user); error_log("akm_get_cert_list returnd:". print_r($certList,true)); $nativeCert = akm_get_native_cert($user); error_log("akm_get_native_cert returned: ". $nativeCert); //$usedKeyCount = akm_used_key_count($user); error_log("akm_used_key_count returned: ". $usedKeyCount); $certListDISABLE = false; $fileName = akm_get_key_export_name($user); error_log("\n\n\n\n\nakm_get_key_export_name returned: ". $fileName ."\n\n\n\n"); } else { // Load some blank defaults so the page will load. $nativeCert = "None"; $certListDISABLE = true; $fileName = "CouldNotGetCertName"; } } $akmStatus = @akm_key_export_progress($user, 0); error_log("\akm_key_export_progress returned: ". print_r($akmStatus,true) ); error_log("$akmStatus->status != $akmResult->StatusFinished"); if( $akmStatus->status == $akmResult->StatusFinished || $akmStatus->status == $akmResult->StatusNotStarted ) $libBusy = false; else $libBusy = true; ?> Tools - SKM Encryption Key Export
Tools - SKM Encryption Key Export
Encryption Key Export allows you to export selected encryption keys from the attached SKM server to a file so that the encryption keys can be imported into another target library.

Quantum Encryption Key Manager must be licensed to configure or use it.
Please click here to add a license key.

Quantum Encryption Key Servers are not configured. Please make sure they are configured properly and are operational.

Note: Make sure the certificate from the target library has been imported and can be selected for the encryption key export operation.
Depending on the number of keys being exported, this operation could take several minutes.
Unable to communicate with SKM servers.

Certificate Name Used For Export

Export Used
Export Selective
Filter By Barcode or Partition
Total Keys:  0
Partition Cartridge Barcode Cartridge Serial Number Key Name