Topic: keystore?

  Print this page

1.keystore? Copy to clipboard
Posted by: flyingdd
Posted on: 2005-02-18 15:58

我想使用Bouncy Castle的Keystore,请问如何使用keytool来指定?

2.Re:keystore? [Re: flyingdd] Copy to clipboard
Posted by: yrlong
Posted on: 2005-02-22 19:29

要在 java.securty文件中指定

3.Re:keystore? [Re: yrlong] Copy to clipboard
Posted by: flyingdd
Posted on: 2005-02-23 08:15

我知道要指定,但用keytool的时候如何知道指定的是Bouncy Castle的还是sun的?

4.Re:keystore? [Re: flyingdd] Copy to clipboard
Posted by: yrlong
Posted on: 2005-02-23 16:07

#
# List of providers and their preference orders (see above):
#
security.provider.1=sun.security.provider.Sun
security.provider.2=sun.security.rsa.SunRsaSign
security.provider.3=com.sun.net.ssl.internal.ssl.Provider
security.provider.4=com.sun.crypto.provider.SunJCE
security.provider.5=sun.security.jgss.SunProvider
security.provider.6=com.sun.security.sasl.Provider
可以指定,在编程序的时候选择使用什么provider,详细情况请参考文档

5.Re:keystore? [Re: flyingdd] Copy to clipboard
Posted by: flyingdd
Posted on: 2005-02-28 11:10

谢谢,我明白了。keytool -storetype可以指定provider。

6.Re:keystore? [Re: flyingdd] Copy to clipboard
Posted by: flyingdd
Posted on: 2005-04-29 16:52

我现在使用Bouncy Castle的Keystore。
但是,在jdk 1.5.0下用keytool -genkey产生了一个.keystore文件,当我想浏览该文件式产生以下错误。请问是怎么回事?
java.lang.NullPointerException

使用SUN的JKS时没有问题


   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