fix:主备切换测试

This commit is contained in:
waner
2025-05-30 16:21:39 +08:00
parent 085d71feb9
commit fbcbe79388
11 changed files with 543 additions and 157 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ import java.util.List;
public class Test4Nongxin {
private static final String SM2dn = "C=CN,O=Sunyard,OU=8001,CN=8001";
private static final String SM2dn = "C=CN,ST=zz,L=zz,O=zzz,CN=zzzzz";
private static final String RSAdn = "C=cn,O=CFCA TEST CA,OU=NCS2,OU=Enterprises,CN=041@Z402451000010@ShanDong@00000001";
private static final byte[] orgData = new byte[ 2*1024 ];
private static final byte[] orgDataBig = new byte[ 10*1024 ];
@@ -25,7 +25,7 @@ public class Test4Nongxin {
System.setProperty("com.sunyard.sydapi4j.debug", "true");
System.setProperty("com.sunyard.dnsort", "true");
//设置连接
SydApiBuilder builder = new SydApiBuilder().setIp("192.168.0.200");
SydApiBuilder builder = new SydApiBuilder().setIp("172.1.41.139");
SydApi4j api = (SydApi4j) builder.build();
try {
//SM2裸签