public ECDomainParameters toDomainParameters() {
        return new ECDomainParameters(curve, base, curve.getOrder(), curve.getCofactor(), seed);
    }
@Test
    public void shouldConvertParams() {
        assertEquals(PARAMS, new EcParameters(PARAMS).toDomainParameters());
    }