Java Utililty Methods Certificate Read

List of utility methods to do Certificate Read

Description

The list of methods to do Certificate Read are organized into topic(s).

Method

byte[]readCertifacates()
read Certifacates
CertificateFactory factory = CertificateFactory.getInstance("X.509");
InputStream in = new FileInputStream("C:/Users/Administrator/https.crt");
java.security.cert.Certificate cate = factory.generateCertificate(in);
return cate.getEncoded();