def METHOD_NAME(self, data: bytes) -> Tuple[str, bytes]:
    name = renderers.NotAvailableValue()
    certificate_data = renderers.NotAvailableValue()
    while len(data) > 12:
        ctype, clength = struct.unpack("<QI", data[0:12])
        cvalue, data = data[12 : 12 + clength], data[12 + clength :]
        if ctype == 0x10000000B:
            name = str(cvalue, "utf-16").strip("\x00")
        elif ctype == 0x100000020:
            certificate_data = cvalue
    return (name, certificate_data)