Add function "attachedSignC" for customized
This commit is contained in:
@@ -178,6 +178,7 @@ interface SydAttachedSVApi {
|
||||
* 符合PKCS7标准的签名结果
|
||||
*/
|
||||
String attachedSign(byte[] orgData, String sCertDN);
|
||||
byte[] attachedSignC(byte[] orgData, String sCertDN);
|
||||
|
||||
/**
|
||||
* 带公钥证书与原始数据的数字签名验签(遵循 PKCS#7)
|
||||
|
||||
@@ -10405,6 +10405,10 @@ public class SydApi4j implements SydApi {
|
||||
// retWrap.put( "authenCode", authenCode.getBytes() ); //认证码
|
||||
}
|
||||
|
||||
public byte[] attachedSignC(byte[] orgData, String sCertDN){
|
||||
String sign = attachedSign(orgData, sCertDN);
|
||||
return sign.getBytes();
|
||||
}
|
||||
|
||||
/**
|
||||
* 带公钥证书与原始数据的数字签名(遵循 PKCS#7)
|
||||
|
||||
Reference in New Issue
Block a user