修改银联接口名及接口,修改网联接口
This commit is contained in:
@@ -1268,6 +1268,8 @@ public class TestAllMethods {
|
||||
String data = "111";
|
||||
String s = api.netSign(sn, data.getBytes());
|
||||
|
||||
System.out.println("签名: " + s);
|
||||
|
||||
boolean b = api.netVerify(sn, data.getBytes(), s);
|
||||
System.out.println(b);
|
||||
}
|
||||
@@ -1279,9 +1281,9 @@ public class TestAllMethods {
|
||||
String sn = "1004282451";
|
||||
String userId = "1234567812345678";
|
||||
String data = "111";
|
||||
String s = api.netSign(sn, userId, data.getBytes());
|
||||
String s = api.unPSign(sn, userId, data.getBytes());
|
||||
|
||||
boolean b = api.netVerify(sn, userId, data.getBytes(), s);
|
||||
boolean b = api.unPVerify(sn, userId, data.getBytes(), s);
|
||||
System.out.println(b);
|
||||
}
|
||||
|
||||
@@ -1625,10 +1627,12 @@ public class TestAllMethods {
|
||||
// 8017
|
||||
@Test
|
||||
public void testGetX509CertFileC() {
|
||||
String userId = "8001";
|
||||
String userId = "8012";
|
||||
|
||||
String s = api.GetX509CertFileC(userId, 0);
|
||||
System.out.println(s);
|
||||
|
||||
|
||||
}
|
||||
|
||||
// 测试通过
|
||||
|
||||
Reference in New Issue
Block a user