jar file의 path 확인
URL url = ${TARGET_CLASS}.class.getProtectionDomain().getCodeSource().getLocation();
Read MoreURL url = ${TARGET_CLASS}.class.getProtectionDomain().getCodeSource().getLocation();
Read Morejava에서 x509 인증서(certificate)를 읽어온다. CertificateFactory fact = CertificateFactory.getInstance(“X.509”); FileInputStream is = new FileInputStream(“./lib/license/felice.pem”); result =…
Read Moresigned jar파일에서 인증서(certificate)를 읽어온다. X509Certificate result = null; try { //InputStream in = X509Certificate.class.getResourceAsStream(“classpath:META-INF/xxxxx.RSA”); InputStream…
Read More