首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动平台 >

关于cmpp短信的一点疑问,该怎么解决

2012-02-24 
关于cmpp短信的一点疑问Java codepublic void setAuthenticatorSource(String tStamp) {byte[] bytes ne

关于cmpp短信的一点疑问

Java code
public void setAuthenticatorSource(String tStamp) {        byte[] bytes = new byte[6 + 9 + Password.length() + 10];        if (SourceAddr == null || Password == null) {            AuthenticatorSource = null;        }        int iPos = 0;        byte[] addr = SourceAddr.getBytes();        System.arraycopy(addr, 0, bytes, 0, addr.length);        iPos += addr.length + 9;        byte[] pswd = Password.getBytes();        System.arraycopy(pswd, 0, bytes, iPos, pswd.length);        iPos += pswd.length;        byte[] tsp = tStamp.getBytes();        System.arraycopy(tsp, 0, bytes, iPos, tsp.length);        MD5 md5 = new MD5();        AuthenticatorSource = md5.getMD5ofBytes(bytes, bytes.length);    }


返回的status总是认证错误,请做过的指点下迷津。

[解决办法]
返回的status值是多少呢

热点排行