保存周一豪电脑

This commit is contained in:
yihzhou
2023-08-02 14:00:36 +08:00
parent ad443356b3
commit 7a4f9892f5
13 changed files with 1453 additions and 388 deletions
@@ -154,7 +154,7 @@ public interface SydAttachedSVApi {
* @return
* 符合PKCS7标准的签名结果
*/
String attachedSign(int rFlag,byte[] orgData, String sCertDN) throws UnsupportedEncodingException;
String attachedSignRSA(int rFlag,byte[] orgData, String sCertDN) throws UnsupportedEncodingException;
/**
* 带公钥证书与原始数据的数字签名验签(遵循 PKCS#7)
@@ -172,7 +172,7 @@ public interface SydAttachedSVApi {
* @param sign 已签名数据
* @return true 验签通过 false 验签失败
*/
boolean attachedVerify(int rFlag,String sign);
boolean attachedVerifyRSA(int rFlag,String sign);
boolean attachedVerify(byte[] sign);