@Override
    public Integer deserialize(Asn1ObjectInputStream in) {
        return in.readInt(in.length);
    }
@Test
    public void shouldDeserialize() {
        assertEquals(0x31abcdef, (int) deserialize(
            new IntegerConverter(), int.class, new byte[] { 0x31, (byte) 0xab, (byte) 0xcd, (byte) 0xef }
        ));
    }