Protocol authhttps = new Protocol("https",  new AuthSSLProtocolSocketFactory(
     new URL("file:./Cert/client.jks"), "1q2w3e4r",
     new URL("file:./Cert/client.jks"), "1q2w3e4r"), 8443); 
   
HttpClient httpClient = new HttpClient();
httpClient.getHostConfiguration().setHost("localhost", 8443, authhttps);

참고하세요
AND

import java.math.BigInteger ;

BigInteger a =new BigInteger ("0");
BigInteger b =new BigInteger ("20");
 
AND

인증서 & CRL 프로파일 표준 규격 중
RFC3280에서 더 보강된 RFC5280 표준 문서 입니다


참고하세요
AND

RFC2246 - TLS V1.0
RFC4346 - TLS V1.1
RFC5246 - TLS V1.2


참고하세요

AND


public byte[] getBytes(Object obj) throws java.io.IOException{
       ByteArrayOutputStream bos = new ByteArrayOutputStream();
       ObjectOutputStream oos = new ObjectOutputStream(bos);
       oos.writeObject(obj);
       oos.flush();
       oos.close();
       bos.close();
       byte [] data = bos.toByteArray();
       return data;
   }

참고하세요...^^

AND