def METHOD_NAME(self, origin=None, relativize=True, **kw):
    _algorithm = self.algorithm.choose_relativity(origin, relativize)
    text = "%s %u %u %u %u %s" % (
        str(_algorithm),
        self.inception,
        self.expiration,
        self.mode,
        self.error,
        dns.rdata._base64ify(self.key, 0),
    )
    if len(self.other) > 0:
        text += " %s" % (dns.rdata._base64ify(self.other, 0))
    return text