BouncyCastleProvider 일단 comment
This commit is contained in:
@@ -24,7 +24,7 @@ import java.security.cert.CertificateException;
|
||||
import java.io.IOException;
|
||||
import java.util.Collection;
|
||||
import java.security.Security;
|
||||
import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
||||
//import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
||||
|
||||
public class ECDHESA256Cipher {
|
||||
|
||||
@@ -89,8 +89,8 @@ public class ECDHESA256Cipher {
|
||||
//0. 개인키 새성
|
||||
//String certPath = "C:/imsi/mytestcert/signCert.der";
|
||||
String priPath = "C:/imsi/mytestcert/signPri.key";
|
||||
char[] password = "looking100!".toCharArray();
|
||||
Security.addProvider(new BouncyCastleProvider());
|
||||
char[] password = "aaa1001".toCharArray();
|
||||
//Security.addProvider(new BouncyCastleProvider()); // bouncycastle 관련 일단 comment
|
||||
PrivateKey myPrivateKey1 = NPKILoader.loadPrivateKey(priPath, password, pubKey.getAlgorithm());
|
||||
|
||||
// 1. 인증서 로드
|
||||
|
||||
Reference in New Issue
Block a user