修改银联接口名及接口,修改网联接口

This commit is contained in:
zhoubin
2021-12-07 14:33:15 +08:00
parent 88aafa1a4b
commit 286867923d
117 changed files with 97 additions and 108090 deletions
@@ -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);
}
// 测试通过