| | |
| | | throw new ConfigException(msgID, message); |
| | | } |
| | | |
| | | File f = new File(keyStoreFile); |
| | | File f = getFileForPath(keyStoreFile); |
| | | if (! (f.exists() && f.isFile())) |
| | | { |
| | | msgID = MSGID_FILE_KEYMANAGER_NO_SUCH_FILE; |
| | |
| | | { |
| | | String fileName = pinFileAttr.activeValue(); |
| | | |
| | | File pinFile = new File(fileName); |
| | | File pinFile = getFileForPath(fileName); |
| | | if (! pinFile.exists()) |
| | | { |
| | | msgID = MSGID_FILE_KEYMANAGER_PIN_NO_SUCH_FILE; |
| | |
| | | { |
| | | keyStore = KeyStore.getInstance(keyStoreType); |
| | | |
| | | FileInputStream inputStream = new FileInputStream(keyStoreFile); |
| | | FileInputStream inputStream = |
| | | new FileInputStream(getFileForPath(keyStoreFile)); |
| | | keyStore.load(inputStream, keyStorePIN); |
| | | inputStream.close(); |
| | | } |
| | |
| | | throw new ConfigException(msgID, message); |
| | | } |
| | | |
| | | File f = new File(newKeyStoreFile); |
| | | File f = getFileForPath(newKeyStoreFile); |
| | | if (! (f.exists() && f.isFile())) |
| | | { |
| | | msgID = MSGID_FILE_KEYMANAGER_NO_SUCH_FILE; |
| | |
| | | { |
| | | String fileName = pinFileAttr.activeValue(); |
| | | |
| | | File pinFile = new File(fileName); |
| | | File pinFile = getFileForPath(fileName); |
| | | if (! pinFile.exists()) |
| | | { |
| | | msgID = MSGID_FILE_KEYMANAGER_PIN_NO_SUCH_FILE; |
| | |
| | | throw new ConfigException(msgID, message); |
| | | } |
| | | |
| | | File f = new File(newKeyStoreFile); |
| | | File f = getFileForPath(newKeyStoreFile); |
| | | if (! (f.exists() && f.isFile())) |
| | | { |
| | | msgID = MSGID_FILE_KEYMANAGER_NO_SUCH_FILE; |
| | |
| | | { |
| | | String fileName = pinFileAttr.activeValue(); |
| | | |
| | | File pinFile = new File(fileName); |
| | | File pinFile = getFileForPath(fileName); |
| | | if (! pinFile.exists()) |
| | | { |
| | | msgID = MSGID_FILE_KEYMANAGER_PIN_NO_SUCH_FILE; |