comparison src/org/tn5250j/framework/transport/SSL/SSLImplementation.java @ 84:8f23b05a51f7

convert ctrl keys to virtual keys; use proper android home directory
author Carl Byington <carl@five-ten-sg.com>
date Mon, 16 Jun 2014 11:25:37 -0700
parents 011462bddcf1
children 53de03150941
comparison
equal deleted inserted replaced
83:4ccfde0bc506 84:8f23b05a51f7
82 } 82 }
83 83
84 public void init(String sslType) { 84 public void init(String sslType) {
85 try { 85 try {
86 Log.d(TAG,"Initializing User KeyStore"); 86 Log.d(TAG,"Initializing User KeyStore");
87 userKsPath = System.getProperty("user.home") + File.separator 87 userKsPath = GlobalConfigure.settingsDirectory() + "keystore";
88 + GlobalConfigure.TN5250J_FOLDER + File.separator + "keystore";
89 File userKsFile = new File(userKsPath); 88 File userKsFile = new File(userKsPath);
90 userks = KeyStore.getInstance(KeyStore.getDefaultType()); 89 userks = KeyStore.getInstance(KeyStore.getDefaultType());
91 userks.load(userKsFile.exists() ? new FileInputStream(userKsFile) 90 userks.load(userKsFile.exists() ? new FileInputStream(userKsFile)
92 : null, userksPassword); 91 : null, userksPassword);
93 Log.d(TAG,"Initializing User Key Manager Factory"); 92 Log.d(TAG,"Initializing User Key Manager Factory");