@Override
    public void serialize(Asn1OutputStream out, String oid) throws IOException {
        Asn1Utils.encodeObjectIdentifier(oid, out);
    }
@Test
    public void shouldSerialize() {
        assertArrayEquals(
            new byte[] { 0x2a, 0x03 },
            serialize(new ObjectIdentifierConverter(), String.class, "1.2.3")
        );
    }