title: How to use .key and .crt file in java that generated by openssl?
body: <p>I need asymmetric encryption in java. I generate .key and .crt files with own password and .crt file by openssl that said in <a href="http://www.imacat.idv.tw/tech/sslcerts.html" rel="noreferrer">http://www.imacat.idv.tw/tech/sslcerts.html</a> .<br>
  How to use these .key and .crt file to extract publickey and private key in Java?</p>