@@ -212,8 +212,8 @@ protected KeyStore createClientKeyStore(String certificateFile, String privateKe
212
212
List <X509Certificate > certificates = PemReader .readCertificates (certificatePath );
213
213
PrivateKey privateKey = PemReader .readPrivateKey (privateKeyPath , privateKeyPassword );
214
214
215
- return createKeyStore (keyStorePassword , certificatePropertyName , privateKeyPropertyName , certificatePath ,
216
- privateKeyPath , certificates , privateKey );
215
+ return createClientKeyStore (keyStorePassword , certificatePropertyName , privateKeyPropertyName ,
216
+ certificatePath , privateKeyPath , certificates , privateKey );
217
217
}
218
218
catch (IOException e )
219
219
{
@@ -240,16 +240,16 @@ else if (privateKeyPath == null)
240
240
List <X509Certificate > certificates = PemReader .readCertificates (certificatePath );
241
241
PrivateKey privateKey = PemReader .readPrivateKey (privateKeyPath , privateKeyPassword );
242
242
243
- return createKeyStore (keyStorePassword , certificatePropertyName , privateKeyPropertyName , certificatePath ,
244
- privateKeyPath , certificates , privateKey );
243
+ return createClientKeyStore (keyStorePassword , certificatePropertyName , privateKeyPropertyName ,
244
+ certificatePath , privateKeyPath , certificates , privateKey );
245
245
}
246
246
catch (IOException e )
247
247
{
248
248
throw new RuntimeException (e );
249
249
}
250
250
}
251
251
252
- private KeyStore createKeyStore (char [] keyStorePassword , String certificatePropertyName ,
252
+ private KeyStore createClientKeyStore (char [] keyStorePassword , String certificatePropertyName ,
253
253
String privateKeyPropertyName , Path certificatePath , Path privateKeyPath ,
254
254
List <X509Certificate > certificates , PrivateKey privateKey ) throws IOException
255
255
{
0 commit comments