Topic: 有关密钥的问题 |
Print this page |
1.有关密钥的问题 | Copy to clipboard |
Posted by: njord Posted on: 2003-08-08 16:05 在.cer文件中包含有公钥,是否包含私钥? 如果没有,那么私钥一般放在哪里了呢? 我想调用私钥进行签名的话,怎么取到私钥呢? |
2.Re:有关密钥的问题 [Re: njord] | Copy to clipboard |
Posted by: floater Posted on: 2003-08-08 22:35 It's in the browser's keystore. When you export the cert to a cer file, browsers should ask you whether you want to export private key. If so, then cer has the private key. check java.security.cert package. |
3.Re:有关密钥的问题 [Re: njord] | Copy to clipboard |
Posted by: njord Posted on: 2003-08-11 15:30 在java.security.cert.Certificate类中只有getPublicKey方法获取公钥,私钥怎么获取呢?私钥是否不在cer文件中而是另外一个文件? |
4.Re:有关密钥的问题 [Re: njord] | Copy to clipboard |
Posted by: floater Posted on: 2003-08-12 04:12 Here is a link that might help: http://www.chinajavaworld.net/forum/topic.cgi?forum=29&topic=448&show=25 |
5.Re:有关密钥的问题 [Re: njord] | Copy to clipboard |
Posted by: njord Posted on: 2003-08-13 12:42 他的私钥是存放在文件中的,用口令加密了。 大概私钥的存放方式都跟这个差不多吧。 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |