Skip to content

Commit

Permalink
doc: fix reference doc name
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Jun 11, 2024
1 parent 2f58653 commit 1b34247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cfca.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ SADK 3.2之后的版本,解密过程:
* 对称加密算法的OID。

#### SADK 3.2之前版本
* 数据对称加密密钥的密文格式为**C1C2C3 格式,不带0x04这个点非压缩标识**。这个不符合《GM/T 0010-2010 SM2密码算法加密签名消息语法规范》以及《GB/T 35275-2017 信息安全技术 SM2密码算法加密签名消息语法规范》。
* 数据对称加密密钥的密文格式为**C1C2C3 格式,不带0x04这个点非压缩标识**。这个不符合《GM/T 0010-2012 SM2密码算法加密签名消息语法规范》以及《GB/T 35275-2017 信息安全技术 SM2密码算法加密签名消息语法规范》。
* SM4-CBC的OID,使用了["SM4" block cipher](https://oid-rep.orange-labs.fr/get/1.2.156.10197.1.104),而不是["SMS4-CBC"](https://oid-rep.orange-labs.fr/get/1.2.156.10197.1.104.2)

本软件库的```pkcs7.EncryptCFCA```方法```DecryptCFCA```方法提供了SADK 3.2之前版本的信封加解密兼容性,记得cipher参数选择```pkcs.SM4```
Expand Down

0 comments on commit 1b34247

Please sign in to comment.