@Override
    public String deserialize(Asn1ObjectInputStream in) {
        return BCD.decodeAsString(in.readAll(), false);
    }
@Test
    public void shouldDeserialize() {
        assertEquals("0112", deserialize(
            new BcdAsStringConverter(), String.class, new byte[] { 0x01, 0x12 }
        ));
    }