C#SDK提交,在window上验证

This commit is contained in:
tanghc
2019-04-03 20:35:33 +08:00
parent 8473be825f
commit e09539bf72
11 changed files with 1113 additions and 75 deletions

View File

@@ -78,7 +78,7 @@ namespace SDKCSharp.Client
}
form[this.openConfig.AppKeyName] = this.appId;
string content = SopSignature.getSignContent(form);
string sign = RSAUtil.EncryptByPrivateKey(content, this.privateKey);
string sign = SignUtil.CreateSign(form, privateKey, request.Charset, request.SignType);
form[this.openConfig.SignName] = sign;
string resp = this.doExecute(url, requestForm, header);