Home | History | Annotate | Download | only in ant

Lines Matching refs:keystore

29 import java.security.KeyStore;
30 import java.security.KeyStore.PrivateKeyEntry;
44 public void setKeystore(Path keystore) {
45 mKeystore = TaskHelper.checkSinglePath("keystore", keystore);
80 throw new BuildException(String.format("Keystore '%s' is not found!", mKeystore));
91 * Loads the debug key from the keystore.
92 * @param osKeyStorePath the OS path to the keystore.
93 * @param storeType an optional keystore type, or <code>null</code> if the default is to
95 * @return <code>true</code> if success, <code>false</code> if the keystore does not exist.
101 KeyStore keyStore = KeyStore.getInstance(
102 storeType != null ? storeType : KeyStore.getDefaultType());
104 keyStore.load(fis, storePassword);
105 return (KeyStore.PrivateKeyEntry)keyStore.getEntry(
106 alias, new KeyStore.PasswordProtection(aliasPassword));