PBCAgent2G添加无参构造
This commit is contained in:
parent
bb1b7fa828
commit
7a9cdac10a
@ -53,19 +53,37 @@
|
||||
|
||||
|
||||
<build>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.4.2</version>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>3.7.1</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>cn.com.infosec.netsign.agent.Main</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
|
||||
<descriptorRefs>
|
||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||
</descriptorRefs>
|
||||
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
</configuration>
|
||||
|
||||
<executions>
|
||||
<execution>
|
||||
<id>make-assembly</id>
|
||||
|
||||
@ -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) {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user