添加测试
This commit is contained in:
@@ -42,12 +42,7 @@ public class TestCertUtil {
|
||||
@Test
|
||||
public void case3() throws CertificateException, NoSuchProviderException {
|
||||
|
||||
// 此证书是错误的
|
||||
try {
|
||||
CertUtil.isSM2Cert(readCert("/x509/c3.crt"));
|
||||
} catch ( CertificateException e ) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
CertUtil.isSM2Cert(readCert("/x509/c3.crt"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user