修改PBCAgent2G
This commit is contained in:
parent
861ecd6108
commit
b7da42c5ab
@ -34,6 +34,7 @@ public class PBCAgent2G{
|
|||||||
|
|
||||||
private final OkHttpClient okHttpClient;
|
private final OkHttpClient okHttpClient;
|
||||||
private final ObjectMapper objectMapper;
|
private final ObjectMapper objectMapper;
|
||||||
|
private boolean isDebug;
|
||||||
|
|
||||||
private final ThreadLocal<Integer> lastReturnCode = new ThreadLocal<>();
|
private final ThreadLocal<Integer> lastReturnCode = new ThreadLocal<>();
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class PBCAgent2G{
|
|||||||
this.objectMapper = new ObjectMapper();
|
this.objectMapper = new ObjectMapper();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void isDebug(boolean isDebug){
|
||||||
|
this.isDebug = isDebug;
|
||||||
|
}
|
||||||
|
|
||||||
public String rawSign(byte[] origBytes, String dn) {
|
public String rawSign(byte[] origBytes, String dn) {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user