1008N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 1008N/A * Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved 1008N/A * The contents of this file are subject to the terms 1008N/A * of the Common Development and Distribution License 1008N/A * (the License). You may not use this file except in 6983N/A * compliance with the License. 1008N/A * You can obtain a copy of the License at 1008N/A * See the License for the specific language governing 6983N/A * permission and limitations under the License. 6983N/A * When distributing Covered Code, include this CDDL 6983N/A * Header Notice in each file and include the License file 1008N/A * If applicable, add the following below the CDDL Header, 1008N/A * with the fields enclosed by brackets [] replaced by 1008N/A * your own identifying information: 1008N/A * "Portions Copyrighted [year] [name of copyright owner]" 1008N/A * This class performs password encryption 1008N/A // Set the debug directory !! 1565N/A Debug.
log(
"EncryptTask.execute() - Obtained encryption lookup key = " +
1140N/A // Set the Encryption modules 1008N/A // Set the encrypted value key 1008N/A Debug.
log(
"EncryptTask.execute() - Encrypting data stored in file '" +
1565N/A // This task does not have anything that could set the return value to 1008N/A // false. The task will only fail with fatal exceptions if they occur 1008N/A Debug.
log(
"EncryptTask.getEncryptedAppPassword() - failed to get " +
1008N/A "method from SDK with exception : ",
ex);
1008N/A Debug.
log(
"EncryptionHandler.getEncryptedAppPassword() - making " +
1008N/A "second attempt to load method");
1008N/A +
"failed to load method with exception : ", e);
1008N/A +
"failed to invoke method with exception :",
ex);
1566N/A Debug.
log(
"EncryptTask.readDataFromFile() - Reading data stored in" +
// Remove the encrypted data. "ENCRYPTED_VALUE_KEY_LOOKUP_KEY";
"ENCRYPTION_KEY_LOOKUP_KEY";
"TSK_ERR_PASSWD_FILE_READ";
"TSK_MSG_ENCRYPT_DATA_EXECUTE";
"TSK_MSG_ENCRYPT_DATA_ROLLBACK";
"TSK_ERR_ENCRYPT_PASSWORD_INVOKE_METHOD";
"TSK_ERR_INVALID_APP_SSO_PASSWORD";
"com.iplanet.security.encryptor";
"com.iplanet.services.util.JCEEncryption";
"com.iplanet.services.debug.directory";
"com.iplanet.services.debug.level";