use of org.jscep.client.verification.PreProvisionedCertificateVerifier in project xipki by xipki.
the class ClientAction method getScepClient.
protected Client getScepClient() throws CertificateException, IOException {
if (scepClient == null) {
X509Certificate caCert = X509Util.parseCert(caCertFile);
URL tmpUrl = new URL(url);
scepClient = new Client(tmpUrl, new PreProvisionedCertificateVerifier(caCert));
}
return scepClient;
}
Aggregations