-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b89
-
generic
-
generic
> I've found a little bug while I'm programming your example in the
> JSSERefGuide
> <http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html>.
> It's in the "Getting Started"-chapter. In your programm you initialize
> the keystore and truststore, but the variable "ks" didn't exists... I
> think you mean instead "ksKeys" and "ksTrust"... ;-)
>
> Here's the code:
> .
> // First initialize the key and trust material.
> KeyStore ksKeys = KeyStore.getInstance("JKS");
> ks.load(new FileInputStream("testKeys"), passphrase);
> KeyStore ksTrust = KeyStore.getInstance("JKS");
> ks.load(new FileInputStream("testTrust"), passphrase);
>
> // KeyManager's decide which key material to use.
> .
>
> Kind regards,
> Martin Rasel
>
>
###@###.### 2005-06-10 01:49:18 GMT
> JSSERefGuide
> <http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html>.
> It's in the "Getting Started"-chapter. In your programm you initialize
> the keystore and truststore, but the variable "ks" didn't exists... I
> think you mean instead "ksKeys" and "ksTrust"... ;-)
>
> Here's the code:
> .
> // First initialize the key and trust material.
> KeyStore ksKeys = KeyStore.getInstance("JKS");
> ks.load(new FileInputStream("testKeys"), passphrase);
> KeyStore ksTrust = KeyStore.getInstance("JKS");
> ks.load(new FileInputStream("testTrust"), passphrase);
>
> // KeyManager's decide which key material to use.
> .
>
> Kind regards,
> Martin Rasel
>
>
###@###.### 2005-06-10 01:49:18 GMT