encode_uvinfo
ret = encode_uvinfo(context, client, &otherinfo.partyUInfo);
ret = encode_uvinfo(context, server, &otherinfo.partyVInfo);