docs: public void store() throws Exception {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.entry(tc, "store");
  
          try {
              String name = getProperty(Constants.SSLPROP_KEY_STORE_NAME);
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(tc, "Storing KeyStore " + name);
  
              String SSLKeyFile = getProperty(Constants.SSLPROP_KEY_STORE);
              String SSLKeyPassword = decodePassword(getProperty(Constants.SSLPROP_KEY_STORE_PASSWORD));
              String SSLKeyStoreType = getProperty(Constants.SSLPROP_KEY_STORE_TYPE);
  
              boolean readOnly = Boolean.parseBoolean(getProperty(Constants.SSLPROP_KEY_STORE_READ_ONLY));
              boolean fileBased = Boolean.parseBoolean(getProperty(Constants.SSLPROP_KEY_STORE_FILE_BASED));
              String SSLKeyStoreStash = getProperty(Constants.SSLPROP_KEY_STORE_CREATE_CMS_STASH);
  
              KeyStore ks = getKeyStore(false, false);
  
              if (ks != null && !readOnly) {
                  if (fileBased) {
                      if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                          Tr.debug(tc, "Storing filebased keystore type " + SSLKeyStoreType);
                      String keyStoreLocation = SSLKeyFile;
                      String keyStorePassword = SSLKeyPassword;
                      final FileOutputStream fos = new FileOutputStream(keyStoreLocation);
                      try {
                          ks.store(fos, keyStorePassword.toCharArray());
                      } finally {
                          fos.close();
                      }
                  } else {
                      if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                          Tr.debug(tc, "Storing non-filebased keystore type " + SSLKeyStoreType);
                      String keyStoreLocation = SSLKeyFile;
                      String keyStorePassword = SSLKeyPassword;
                      URL ring = new URL(keyStoreLocation);
                      URLConnection ringConnect = ring.openConnection();
                      final OutputStream fos = ringConnect.getOutputStream();
                      try {
                          ks.store(fos, keyStorePassword.toCharArray());
                      } finally {
                          fos.close();
                      }
                  }
              }
  
              // we will likely have to store other types too
          } catch (Exception e) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(tc, "Exception storing KeyStore; " + e);
              FFDCFilter.processException(e, getClass().getName(), "store", this);
              throw e;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.exit(tc, "store");
      }