Skip to content

Commit

Permalink
更新国密文档 (FISCO-BCOS#691)
Browse files Browse the repository at this point in the history
spring/springboot配置文件名错误;变量名加上md标志符
  • Loading branch information
CodingCattwo authored and JimmyShi22 committed Nov 26, 2019
1 parent c241be1 commit f3c9729
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/sdk/java_sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ SDK的核心功能是部署/加载合约,然后调用合约相关接口,实
### SDK国密功能使用
- 前置条件:FISCO BCOS区块链采用国密算法,搭建国密版的FISCO BCOS区块链请参考[国密使用手册](../manual/guomi_crypto.md)。
- 启用国密功能:application.xml/application.yml配置文件中将encryptType属性设置为1
- 加载私钥使用GenCredential类(适用于国密和非国密),Credential类只适用于加载非国密私钥
- 启用国密功能:`applicationContext.xml`/`application.yml`配置文件中将`encryptType`属性设置为1
- 加载私钥使用`GenCredential`(适用于国密和非国密),`Credential`类只适用于加载非国密私钥
国密版SDK调用API的方式与普通版SDK调用API的方式相同,其差异在于国密版SDK需要生成国密版的Java合约文件。编译国密版的Java合约文件[参考这里](../manual/console.html#id10)。
Expand Down Expand Up @@ -1337,4 +1337,4 @@ class Asset {
otherTopics.add(TopicTools.stringToTopic(fromAccount));

asset.registerRegisterEventEventLogFilter(fromBlock,toBlock,otherTopics,callback);
```
```

0 comments on commit f3c9729

Please sign in to comment.