if (provider == null || provider.length() == 0) {
validator = CertPathValidator.getInstance("PKIX");
} else {
validator = CertPathValidator.getInstance("PKIX", provider);
}
validator.validate(path, param);
return true;
} catch (java.security.NoSuchProviderException e) {
throw new WSSecurityException(
WSSecurityException.FAILURE, "certpath",
new Object[] { e.getMessage() }, e