增加获取所有证书列表问题

This commit is contained in:
yihzhou
2022-12-13 14:08:24 +08:00
parent 92ee7a17e8
commit 85ef86ee49
3 changed files with 37 additions and 2 deletions
@@ -6,6 +6,7 @@ import com.sunyard.cert.X509;
import com.sunyard.constant.CertUsage;
import java.io.UnsupportedEncodingException;
import java.util.List;
/**
* 证书操作相关接口
@@ -102,6 +103,14 @@ public interface SydCertApi {
String sign
);
/**
* 查询所有证书
* @return
* certDNs: 证书DN
*/
List<String> getAllCert() throws UnsupportedEncodingException;
/**
* 查询所有证书
* @param dataFlag 数据包标志 0:起始包 1:中间包 2:结束包