public ECParameterSpec toParameterSpec() {
        return new ECParameterSpec(curve, base, curve.getOrder(), curve.getCofactor(), seed);
    }
@Test
    public void shouldConvertSpec() {
        assertEquals(SPEC, new EcParameters(SPEC).toParameterSpec());
    }