public static KeyStore createClient(KeyStore caKeyStore){
  KeyStore clientKeyStore=createKeyStore();
  copySelfSignedCertificates(clientKeyStore,caKeyStore);
  return clientKeyStore;
}

public static KeyStore createClient ( KeyStore caKeyStore ) { KeyStore clientKeyStore = createKeyStore ( ) ; copySelfSignedCertificates ( clientKeyStore , caKeyStore ) ; return clientKeyStore ; }
create a client key store that only contains self - signed certificates but no private keys
