code: public static X509CertChainValidatorExt buildCertificateValidator(
      String trustAnchorsDir, ValidationErrorListener validationErrorListener,
      StoreUpdateListener storeListener, long updateInterval, boolean lazy) {
  
      return buildCertificateValidator(trustAnchorsDir, validationErrorListener,
        storeListener, updateInterval, DEFAULT_NS_CHECKS, DEFAULT_CRL_CHECKS,
        DEFAULT_OCSP_CHECKS, lazy);
    }
docs: Builds an Openssl-style certificate validator configured as specified in
  the parameters
  
  @param trustAnchorsDir
  the directory where trust anchors are loaded from
  @param validationErrorListener
  the listener that will receive notification about validation
  errors
  @param storeListener
  the listener that will be informed of trust store load errors
  
  @param updateInterval
  the trust anchor store update interval
  
  @param lazy
  whether the certificate validator should be lazy in loading crls
  and CAs
  
  @return an Openssl-style certificate validator configured as specified in
  the parameters
  
  @deprecated Create a {@link CertificateValidatorBuilder} object instead.