0
我讀證書文件用以下方法:如何獲取證書中的子根證書?
File certFile = new File("E:/mycert.cer");
InputStream stream = new FileInputStream(certFile);
CertificateFactory factory = CertificateFactory.getInstance("X509");
X509Certificate certificate = (X509Certificate) factory.generateCertificate(stream);
如何獲得Java編程證書的根證書。?