Home
last modified time | relevance | path

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

/build/make/tools/signtos/
DSignTos.java76 private static String readPassword(File keyFile) { in readPassword() argument
78 System.out.print("Enter password for " + keyFile + " (password will not be hidden): "); in readPassword()
97 private static PKCS8EncodedKeySpec decryptPrivateKey(byte[] encryptedPrivateKey, File keyFile) in decryptPrivateKey() argument
107 char[] password = readPassword(keyFile).toCharArray(); in decryptPrivateKey()
118 System.err.println("signapk: Password for " + keyFile + " may be bad."); in decryptPrivateKey()
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java199 private static String readPassword(File keyFile) { in readPassword() argument
203 System.out.print("Enter password for " + keyFile + " (password will not be hidden): "); in readPassword()
212 if ((pwd = console.readPassword("[%s]", "Enter password for " + keyFile)) != null) { in readPassword()
229 private static PKCS8EncodedKeySpec decryptPrivateKey(byte[] encryptedPrivateKey, File keyFile) in decryptPrivateKey() argument
239 char[] password = readPassword(keyFile).toCharArray(); in decryptPrivateKey()
250 System.err.println("signapk: Password for " + keyFile + " may be bad."); in decryptPrivateKey()