Golden Looly

Results 39 comments of Golden Looly
trafficstars

可以借助`MultipartBody`完成发送: ```java final MultipartBody body= MultipartBody.create(this.form, this.charset); body.writeClose(this.getConnection().getOutputStream()); ```

@xweiba 是滴,你也可以自己构建body内容,然后调用body方法,不传Content-Type。

@CherryRum 你要自己实现么,哈哈

@cxhello 密钥格式的问题。 Hutool中使用密钥支持: 私钥:支持D值、PKCS#8、PKCS#1 公钥:支持Q值、X.509、PKCS#1 密钥标识符使用的是:`1.2.156.10197.1.301` 见: ![image](https://github.com/dromara/hutool/assets/1432613/4ffdd50f-76d1-4447-a2e8-da2576365644)

@cxhello 我意思是国密的Oid是固定的,只是密钥存储的格式不同。 如果在使用中有问题,可以附上测试的密钥,我这边回复。

@cxhello Java生成的密钥确实不是Asni格式,是pkcs8和x509。 现在Hutool只能保证js生成的密钥可以用,但是Java生成的密钥没法在js中使用。

确实没注意,我想新版本要做下更新了。

新的参考:https://www.cnblogs.com/yang37/p/16636435.html

@noear 哈哈,这个issue整整一年