This commit is contained in:
yihzhou 2022-11-08 17:12:05 +08:00
parent fd6ef6050f
commit ecd01a408e
2 changed files with 224 additions and 211 deletions

File diff suppressed because it is too large Load Diff

View File

@ -82,6 +82,17 @@ public class Shanghairenhang {
}
@Test
public void testRenhang(){
System.setProperty("com.sunyard.sydapi4j.debug", "true");
SydApiBuilder builder = new SydApiBuilder().setIp("192.168.0.200");
SydApi4j api = (SydApi4j) builder.build();
String attachedSign = api.attachedSign(2,orgData2k, RSA);
System.out.println(attachedSign);
boolean attachedVerify = api.attachedVerify(2,attachedSign);
System.out.println(attachedVerify);
} }
} }