@Override public CertPathBuilderResult engineBuild(CertPathParameters params) throws CertPathBuilderException, InvalidAlgorithmParameterException {
  if (debug != null) {
    debug.println("SunCertPathBuilder.engineBuild(" + params + ")");
  }
  buildParams=PKIX.checkBuilderParams(params);
  return build();
}

@ Override public CertPathBuilderResult engineBuild ( CertPathParameters params ) throws CertPathBuilderException , InvalidAlgorithmParameterException { if ( debug != null ) { debug . println ( "SunCertPathBuilder.engineBuild(" + params + ")" ) ; } buildParams = PKIX . checkBuilderParams ( params ) ; return build ( ) ; }
attempts to build a certification path using the sun build algorithm from a trusted anchor ( s ) to a target subject , which must both be specified in the input parameter set . this method will attempt to build in the forward direction : from the target to the ca . < p > the certification path that is constructed is validated according to the pkix specification .
