code: public void initState(List<PKIXCertPathChecker> certPathCheckers)
          throws CertPathValidatorException
      {
          subjectNamesTraversed = new HashSet<GeneralNameInterface>();
          traversedCACerts = 0;
  
          /*
           * Populate forwardCheckers with every user-defined checker
           * that supports forward checking and initialize the forwardCheckers
           */
          forwardCheckers = new ArrayList<PKIXCertPathChecker>();
          for (PKIXCertPathChecker checker : certPathCheckers) {
              if (checker.isForwardCheckingSupported()) {
                  checker.init(true);
                  forwardCheckers.add(checker);
              }
          }
  
          init = true;
      }
docs: Initialize the state.
  
  @param certPathCheckers the list of user-defined PKIXCertPathCheckers