#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.签发数字证书 (例子)

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

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