'Convert rdata to a format suitable for digesting in hashes.  This
is also the DNSSEC canonical form.'

def to_digestable(self, origin=None):

    f = BytesIO()
    self.to_wire(f, None, origin)
    return f.getvalue()
