增加二维码、条形码签名验签测试

This commit is contained in:
yihzhou
2024-11-21 10:56:01 +08:00
parent 25803c9d4f
commit db80b1dd83
17 changed files with 1353 additions and 68 deletions
+2 -2
View File
@@ -15,14 +15,14 @@ import racal.sunyard.main.SydApi4j;
public class Test4WL {
private SydApi4j api;
final String SM2dn = "C=CN,O=1,OU=1,CN=1";
final String SM2dn = "C=CN,ST=1,L=1,O=1,OU=1,OU=1,CN=1";
final String RSAdn = "C=CN,O=2,OU=2,CN=2";
byte[] orgData = new byte[100];
@Before
public void before() {
// 通过设置debug的属性开启debug,如果不设置则默认不打开
//System.setProperty("com.sunyard.sydapi4j.debug", "true");
api = (SydApi4j) new SydApi4j().connect("172.16.18.91", 8889, null, 1000);
api = (SydApi4j) new SydApi4j().connect("172.16.17.82", 8889, null, 1000);
}
@After