MAC 长度
This commit is contained in:
@@ -54,6 +54,8 @@ public interface SydCertApi {
|
||||
int nKeyTypes
|
||||
);
|
||||
|
||||
public String SM2GetPrivateKeyC(String privateKeyTag);
|
||||
|
||||
String SM2GetPublicKeyC_QX(
|
||||
int userId,
|
||||
int nKeyTypes
|
||||
|
||||
@@ -74,7 +74,6 @@ interface SydHashApi {
|
||||
public void MACCheck(int alg, int keyType, String AK, int fullMode, byte[] infoData, String mac);
|
||||
|
||||
public String calcPBOCMAC(int mode, int keyType, String key, byte[] data, int block, byte[] iv);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ interface SydAttachedSVApi {
|
||||
* @return 签名结果
|
||||
*/
|
||||
String SM2SignC(int flag, String privateKey, byte[] publicKey, byte[] orgData);
|
||||
|
||||
String SM2SignC(int flag, String pUserID, String privateKey, byte[] publicKey, byte[] orgData);
|
||||
/**
|
||||
* SM2 私钥签名
|
||||
* @param pUserID 使用者的 ID,最大长度为 16 位数字,右对齐。
|
||||
|
||||
Reference in New Issue
Block a user