| | |
| | | throw new ConfigException(msgID, message); |
| | | } |
| | | |
| | | File f = new File(trustStoreFile); |
| | | File f = getFileForPath(trustStoreFile); |
| | | if (! (f.exists() && f.isFile())) |
| | | { |
| | | msgID = MSGID_FILE_TRUSTMANAGER_NO_SUCH_FILE; |
| | |
| | | { |
| | | String fileName = pinFileAttr.activeValue(); |
| | | |
| | | File pinFile = new File(fileName); |
| | | File pinFile = getFileForPath(fileName); |
| | | if (! pinFile.exists()) |
| | | { |
| | | msgID = MSGID_FILE_TRUSTMANAGER_PIN_NO_SUCH_FILE; |
| | |
| | | { |
| | | trustStore = KeyStore.getInstance(trustStoreType); |
| | | |
| | | FileInputStream inputStream = new FileInputStream(trustStoreFile); |
| | | FileInputStream inputStream = |
| | | new FileInputStream(getFileForPath(trustStoreFile)); |
| | | trustStore.load(inputStream, trustStorePIN); |
| | | inputStream.close(); |
| | | } |
| | |
| | | throw new ConfigException(msgID, message); |
| | | } |
| | | |
| | | File f = new File(newTrustStoreFile); |
| | | File f = getFileForPath(newTrustStoreFile); |
| | | if (! (f.exists() && f.isFile())) |
| | | { |
| | | msgID = MSGID_FILE_TRUSTMANAGER_NO_SUCH_FILE; |
| | |
| | | { |
| | | String fileName = pinFileAttr.activeValue(); |
| | | |
| | | File pinFile = new File(fileName); |
| | | File pinFile = getFileForPath(fileName); |
| | | if (! pinFile.exists()) |
| | | { |
| | | msgID = MSGID_FILE_TRUSTMANAGER_PIN_NO_SUCH_FILE; |
| | |
| | | throw new ConfigException(msgID, message); |
| | | } |
| | | |
| | | File f = new File(newTrustStoreFile); |
| | | File f = getFileForPath(newTrustStoreFile); |
| | | if (! (f.exists() && f.isFile())) |
| | | { |
| | | msgID = MSGID_FILE_TRUSTMANAGER_NO_SUCH_FILE; |
| | |
| | | { |
| | | String fileName = pinFileAttr.activeValue(); |
| | | |
| | | File pinFile = new File(fileName); |
| | | File pinFile = getFileForPath(fileName); |
| | | if (! pinFile.exists()) |
| | | { |
| | | msgID = MSGID_FILE_TRUSTMANAGER_PIN_NO_SUCH_FILE; |