45 Star 135 Fork 62

小帅丶 / algorithmNation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Version License JDK 1.8 作者

SM2生成证书请移步:https://blog.csdn.net/u010651369/article/details/76907312

sm2root.cer是一个国密证书测试文件。可以自行下载查看相关证书内容哦

QQ:783021975

关注码小帅获取最新功能更新

码小帅

SM2证书生成相关文档&博文地址(有完全免费开源的代码):http://gm4j.mydoc.io/

新加1.SMCertUtil 生成国密证书工具类 2. XSCertExtension 拓展信息工具类

目录结构

cn.xsshome.algorithmNation
       ├── sample                                  //测试代码
                └── Test                          //SM2加解密示例代码
                └── TestSign                     //SM2签名验签示例代码
                └── TestCert                     //SM2证书生成调用示例代码          
                └── TestSM4                     //SM4加解密示例代码    
       ├── vo                                   //相关Java对象
       └── util                                //工具类包含了SM2 SM3等一系列工具类

所需依赖包

<!-- BC依赖包 -->
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcpkix-jdk15on</artifactId>
    <version>1.57</version>
</dependency>
<!-- BC依赖包 -->
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcmail-jdk15on</artifactId>
    <version>1.56</version>
</dependency>
<!-- hutool工具类 -->
<dependency>
    <groupId>com.xiaoleilu</groupId>
    <artifactId>hutool-all</artifactId>
    <version>3.0.9</version>
</dependency>
MIT License Copyright (c) 2019 小帅丶 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

🍬国密算法 SM2加解密 SM2 SM3 SM4签名验签 National secret algorithm SM2 encryption and decryption SM2 SM3 SM4 signature verification 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/xshuai/algorithmNation.git
git@gitee.com:xshuai/algorithmNation.git
xshuai
algorithmNation
algorithmNation
master

搜索帮助