|
|
@ -157,7 +157,7 @@ public class OpenClient { |
|
|
|
form.put(this.openConfig.getAppKeyName(), this.appId); |
|
|
|
form.put(this.openConfig.getAppKeyName(), this.appId); |
|
|
|
|
|
|
|
|
|
|
|
String content = SopSignature.getSignContent(form); |
|
|
|
String content = SopSignature.getSignContent(form); |
|
|
|
String sign = null; |
|
|
|
String sign; |
|
|
|
try { |
|
|
|
try { |
|
|
|
sign = SopSignature.rsaSign(content, privateKey, openConfig.getCharset(), openConfig.getSignType()); |
|
|
|
sign = SopSignature.rsaSign(content, privateKey, openConfig.getCharset(), openConfig.getSignType()); |
|
|
|
} catch (SopSignException e) { |
|
|
|
} catch (SopSignException e) { |
|
|
|