Searched refs:keyFile (Results 1 – 1 of 1) sorted by relevance
76 File keyFile = getKeyFile(keyName); in generateNewKey() local77 if (keyFile.exists()) { in generateNewKey()90 if (!keyFile.createNewFile()) { in generateNewKey()94 FileOutputStream fos = new FileOutputStream(keyFile); in generateNewKey()99 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()110 File keyFile = new File(sysKeystoreDir, keyName + KEY_FILE_EXTENSION); in getKeyFile() local111 return keyFile; in getKeyFile()119 File keyFile = getKeyFile(keyName); in retrieveKey() local120 if (!keyFile.exists()) { in retrieveKey()123 return IoUtils.readFileAsByteArray(keyFile.toString()); in retrieveKey()[all …]