public static void serialize( SerializationStreamWriter streamWriter, org.ib.commons.dto.X509CertificateDTO instance) throws SerializationException { streamWriter.writeString(instance.issuerDN); streamWriter.writeObject(instance.notAfter); streamWriter.writeObject(instance.notBefore); streamWriter.writeString(instance.serialNumber); streamWriter.writeString(instance.signatureAlgorithm); streamWriter.writeString(instance.subjectDN); org.ib.commons.dto.CertificateDTO_FieldSerializer.serialize(streamWriter, instance); }
public static void deserialize( SerializationStreamReader streamReader, org.ib.commons.dto.X509CertificateDTO instance) throws SerializationException { instance.issuerDN = streamReader.readString(); instance.notAfter = (java.util.Date) streamReader.readObject(); instance.notBefore = (java.util.Date) streamReader.readObject(); instance.serialNumber = streamReader.readString(); instance.signatureAlgorithm = streamReader.readString(); instance.subjectDN = streamReader.readString(); org.ib.commons.dto.CertificateDTO_FieldSerializer.deserialize(streamReader, instance); }