8019添加返回所有信息的接口

This commit is contained in:
zhoubin
2022-04-02 10:53:28 +08:00
parent 4e42f354b5
commit 3aa8237a4d
5 changed files with 64 additions and 41 deletions
@@ -207,6 +207,17 @@ interface SydAttachedSVApi {
* 若发送报文返回证书信息标志位为1,则返回CERT_INFO结构的证书数据
*/
X509 attachedVerifyAndGetX509(String sign);
/**
* 带公钥证书与原始数据的数字签名验签(遵循 PKCS#7)
* 对指定的原始数据核验其带公钥证书签名。如签名有效(含证书无效)且需返回签名者公钥证书信息时,同时返回签名者公钥证书信息。
*
* @param sign 已签名数据
* @return
* 若发送报文返回证书信息标志位为0,则返回已签名数据,
* 若发送报文返回证书信息标志位为1,则返回CERT_INFO结构的证书数据
*/
RetWrap attachedVerifyAndGetAll(String sign);
}