Mercurial > 510Connectbot
comparison src/org/tn5250j/framework/transport/SSL/SSLImplementation.java @ 85:53de03150941
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:29:33 -0700 |
parents | 8f23b05a51f7 |
children | 213153ca62a2 |
comparison
equal
deleted
inserted
replaced
84:8f23b05a51f7 | 85:53de03150941 |
---|---|
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 = GlobalConfigure.settingsDirectory() + "keystore"; | 87 userKsPath = GlobalConfigure._instance.settingsDirectory() + "keystore"; |
88 File userKsFile = new File(userKsPath); | 88 File userKsFile = new File(userKsPath); |
89 userks = KeyStore.getInstance(KeyStore.getDefaultType()); | 89 userks = KeyStore.getInstance(KeyStore.getDefaultType()); |
90 userks.load(userKsFile.exists() ? new FileInputStream(userKsFile) | 90 userks.load(userKsFile.exists() ? new FileInputStream(userKsFile) |
91 : null, userksPassword); | 91 : null, userksPassword); |
92 Log.d(TAG,"Initializing User Key Manager Factory"); | 92 Log.d(TAG,"Initializing User Key Manager Factory"); |