Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DGoogleApiClientUtil.java134 for (File keyFile : keyFiles) { in doCreateCredential()
135 if (keyFile != null) { in doCreateCredential()
136 if (keyFile.exists() && keyFile.canRead()) { in doCreateCredential()
137 CLog.d("Using %s.", keyFile.getAbsolutePath()); in doCreateCredential()
138 return doCreateCredentialFromJsonKeyFile(keyFile, scopes); in doCreateCredential()
140 CLog.i("No access to %s.", keyFile.getAbsolutePath()); in doCreateCredential()
176 String serviceAccount, File keyFile, Collection<String> scopes) in createCredentialFromP12File() argument
183 .setServiceAccountPrivateKeyFromP12File(keyFile) in createCredentialFromP12File()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java64 private String keyFile; field in SignerParams
123 return keyFile; in getKeyFile()
126 public void setKeyFile(String keyFile) { in setKeyFile() argument
127 this.keyFile = keyFile; in setKeyFile()
165 && (keyFile == null) in isEmpty()
174 if (keyFile != null) { in loadPrivateKeyAndCerts()
182 } else if (keyFile != null) { in loadPrivateKeyAndCerts()
389 if (keyFile == null) { in loadPrivateKeyAndCertsFromFiles()
395 byte[] privateKeyBlob = readFully(new File(keyFile)); in loadPrivateKeyAndCertsFromFiles()
421 "Failed to parse encrypted private key blob " + keyFile, e); in loadPrivateKeyAndCertsFromFiles()
[all …]