code: protected static InputStream openKeyStore(String fileName) throws MalformedURLException, IOException {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "openKeyStore" + fileName);;
          try {
              OpenKeyStoreAction action = new OpenKeyStoreAction(fileName);
              if (tc.isEntryEnabled())
                  Tr.exit(tc, "openKeyStore");
              return (InputStream) java.security.AccessController.doPrivileged(action);
          } catch (java.security.PrivilegedActionException e) {
              Exception ex = e.getException();
              if (tc.isDebugEnabled())
                  Tr.debug(tc, "Exception opening keystore.", new Object[] { ex });
  
              if (ex instanceof MalformedURLException)
                  throw (MalformedURLException) ex;
              else if (ex instanceof IOException)
                  throw (IOException) ex;
  
              throw new IOException(ex.getMessage());
          }
      }
docs: * openKeyStore method to open keystore in the form of a file or a url **