Home
last modified time | relevance | path

Searched refs:keyFile (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java76 File keyFile = getKeyFile(keyName); in generateNewKey() local
77 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() local
111 return keyFile; in getKeyFile()
119 File keyFile = getKeyFile(keyName); in retrieveKey() local
120 if (!keyFile.exists()) { in retrieveKey()
123 return IoUtils.readFileAsByteArray(keyFile.toString()); in retrieveKey()
[all …]