} else {
validator = CertPathValidator.getInstance("PKIX", provider);
}
validator.validate(path, param);
} catch (java.security.NoSuchProviderException e) {
throw new XKMSException("certpath");
} catch (java.security.NoSuchAlgorithmException e) {
throw new XKMSException("certpath");
} catch (java.security.cert.CertificateException e) {
throw new XKMSException("certpath");
} catch (java.security.InvalidAlgorithmParameterException e) {
throw new XKMSException("certpath");
} catch (java.security.cert.CertPathValidatorException e) {
throw new XKMSException("certpath");
} catch (java.security.KeyStoreException e) {
throw new XKMSException("certpath");
}
return true;
}