function params type byte[] string
This commit is contained in:
@@ -177,7 +177,7 @@ interface SydAttachedSVApi {
|
||||
* @return
|
||||
* 符合PKCS7标准的签名结果
|
||||
*/
|
||||
byte[] attachedSign(byte[] orgData, String sCertDN);
|
||||
String attachedSign(byte[] orgData, String sCertDN);
|
||||
|
||||
/**
|
||||
* 带公钥证书与原始数据的数字签名验签(遵循 PKCS#7)
|
||||
@@ -186,6 +186,7 @@ interface SydAttachedSVApi {
|
||||
* @param sign 已签名数据
|
||||
* @return true 验签通过 false 验签失败
|
||||
*/
|
||||
boolean attachedVerify(String sign);
|
||||
boolean attachedVerify(byte[] sign);
|
||||
|
||||
/**
|
||||
@@ -196,6 +197,7 @@ interface SydAttachedSVApi {
|
||||
* @return 成功返回签名的原数据,失败则报错
|
||||
*/
|
||||
byte[] attachedVerifyRD(byte[] sign);
|
||||
byte[] attachedVerifyRD(String sign);
|
||||
|
||||
/**
|
||||
* 带公钥证书与原始数据的数字签名验签(遵循 PKCS#7)
|
||||
@@ -207,6 +209,7 @@ interface SydAttachedSVApi {
|
||||
* 若发送报文返回证书信息标志位为1,则返回CERT_INFO结构的证书数据
|
||||
*/
|
||||
X509 attachedVerifyAndGetX509(byte[] sign);
|
||||
X509 attachedVerifyAndGetX509(String sign);
|
||||
|
||||
/**
|
||||
* 带公钥证书与原始数据的数字签名验签(遵循 PKCS#7)
|
||||
|
||||
Reference in New Issue
Block a user