use of org.xipki.scep.serveremulator.ScepControl in project xipki by xipki.
the class AbstractCaTest method startScepServer.
@Before
public synchronized void startScepServer() throws Exception {
if (scepServerContainer == null) {
CaCaps caCaps = getExpectedCaCaps();
ScepControl control = new ScepControl(isSendCaCert(), isPendingCert(), sendSignerCert(), useInsecureAlgorithms(), secret);
this.scepServer = new ScepServer("scep", caCaps, isWithRa(), isWithNextCa(), isGenerateCrl(), control);
this.scepServerContainer = new ScepServerContainer(port, scepServer);
}
this.scepServerContainer.start();
}
Aggregations