code: @SuppressWarnings("unchecked")
      private Hashtable<String, ?> getHashtable(Set<Object> creds, String[] properties) {
          int i = 0;
          for (Object cred : creds) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Object[" + i + "] in credential list: " + cred);
              }
              if (cred instanceof Hashtable) {
                  for (int j = 0; j < properties.length; j++) {
                      if (((Hashtable) cred).get(properties[j]) != null)
                          return (Hashtable) cred;
                  }
              }
              i++;
          }
          return null;
      }
docs: Given a credential Set and an array of properties, find the Hashtable (if it exists) that has the
  expected properties.
  
  @param creds {@code null} is not supported.
  @param properties {@code null} is not supported.
  @return The Hashtable with our properties, or null.