X509ProxyCertPathParameters parameters =
new X509ProxyCertPathParameters(keyStore, crlStore,
sigPolStore, false);
X509ProxyCertPathValidator validator =
new X509ProxyCertPathValidator();
if (validator.engineValidate(CertificateUtil.getCertPath(peerCerts),
parameters) == null) {
throw new Exception("X509ProxyCertPathValidator did not return a result");
}
} catch (Exception e) {
e.printStackTrace();