public static PrivateKey badKey;
@BeforeClass
public static void setup() throws Exception
{
clientRepository = new DosetaKeyRepository();
clientRepository.setKeyStorePath("test1.jks");
clientRepository.setKeyStorePassword("password");
clientRepository.setUseDns(true);
clientRepository.setDnsUri("dns://localhost:6363");
clientRepository.start();
serverRepository = new DosetaKeyRepository();
serverRepository.setKeyStorePath("test2.jks");
serverRepository.setKeyStorePassword("password");
serverRepository.setUseDns(true);
serverRepository.setDnsUri("dns://localhost:6363");
serverRepository.start();