SSLUtils: change argument type to InputStream
package org.apache.cxf.configuration.jsse;
-import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
@@ -171,13 +170,13 @@ public final class SSLUtils {
public static KeyManager[] loadKeyStore(KeyManagerFactory kmf,
KeyStore ks,
- ByteArrayInputStream bin,
+ InputStream is,
String keyStoreLocation,
String keyStorePassword,
Logger log) {
KeyManager[] keystoreManagers = null;
try {
- ks.load(bin, keyStorePassword.toCharArray());
+ ks.load(is, keyStorePassword.toCharArray());
kmf.init(ks, keyStorePassword.toCharArray());
keystoreManagers = kmf.getKeyManagers();
LogUtils.log(log,
