@Override
    public ECPoint deserialize(Asn1ObjectInputStream in) {
        return CURVE.decodePoint(in.readAll());
    }
@Test
    public void shouldDeserialize() {
        assertEquals(G, deserialize(
                new CardPointConverter(), ECPoint.class,
                Hex.decode("SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS")
            )
        );
    }