PBCAgent2G添加无参构造

This commit is contained in:
xydkj
2026-05-26 16:19:37 +08:00
parent bb1b7fa828
commit 7a9cdac10a
2 changed files with 24 additions and 0 deletions
@@ -34,6 +34,12 @@ public class PBCAgent2G{
this.properties = SignServerPropertiesLoader.getProperties();
}
public PBCAgent2G(boolean usingSingleServiceList) {
this.okHttpClient = OkHttpClientHolder.getClient();
this.objectMapper = new ObjectMapper();
this.properties = SignServerPropertiesLoader.getProperties();
}
public String rawSign(byte[] origBytes, String dn) {