@classmethod
def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin=None):
    header = struct.unpack('!BBB', wire[current:(current + 3)])
    current += 3
    rdlen -= 3
    cert = wire[current:(current + rdlen)].unwrap()
    return cls(rdclass, rdtype, header[0], header[1], header[2], cert)
@classmethod
def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin=None):
    header = struct.unpack('!BBB', wire[current:(current + 3)])
    current += 3
    rdlen -= 3
    cert = wire[current:(current + rdlen)].unwrap()
    return cls(rdclass, rdtype, header[0], header[1], header[2], cert)