No reinventes la rueda, palurdo
String ruta = "C:/miDir/test.crt"; CertificateFactory cf = CertificateFactory.getInstance("X.509"); BufferedInputStream in = new BufferedInputStream(new FileInputStream(ruta)); java.security.cert.Certificate cert = cf.generateCertificate(in);
No hay comentarios:
Publicar un comentario