|
|
|
![]() |
![]() |
![]() |
![]() |
IBM developerWorks : Java : Education - Tutorials![]() | ![]() ![]() ![]() ![]() |
![]() |
![]() | |||||
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
![]() | ||||
In the previous panel, we read the key information from server.public, which contains the server side's public key. We also need to read the client key pair from client.private, as shown here: private void setupClientKeyStore() throws GeneralSecurityException, IOException { clientKeyStore = KeyStore.getInstance( "JKS" ); clientKeyStore.load( new FileInputStream( "client.private" ), "public".toCharArray() ); } |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
![]() |
|
|