def METHOD_NAME(self, file, compress=None, origin=None, canonicalize=False):
    self.algorithm.to_wire(file, None, origin, False)
    file.write(
        struct.pack(
            "!HIHH",
            (self.time_signed >> 32) & 0xFFFF,
            self.time_signed & 0xFFFFFFFF,
            self.fudge,
            len(self.mac),
        )
    )
    file.write(self.mac)
    file.write(struct.pack("!HHH", self.original_id, self.error, len(self.other)))
    file.write(self.other)