#java.security.KeyStore# KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the system key store can be changed by setting the 'keystore.type' property in the file named JAVA_HOME/lib/security/java.security.


#void java.security.KeyStore.load(InputStream stream, char[] password) throws IOException, NoSuchAlgorithmException, CertificateException#

Initializes this KeyStore from the provided InputStream. Pass null as the stream argument to initialize an empty KeyStore or to initialize a KeyStore which does not rely on an InputStream. This KeyStore utilizes the given password to verify the stored data.


#ERROR# Access restriction: The type AlgorithmId is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar


参考资料:

1.签发数字证书 (例子)

http://hi.baidu.com/aiqi13/item/e346792937d59dc3ef10f17f

2. Access restriction: The type XXX is not accessible due to restriction on required library XXX

http://blog.csdn.net/hexin373/article/details/7175325

3. Access restriction: The type TaskTopicResolver is not accessible due to restrict

http://blog.sina.com.cn/s/blog_6714fba70100x6mz.html