case PKCS12:
IKeyStoreLoader pkcs12KeyStoreLoader = new PKCS12KeyStoreLoader(location,
keyStorePassword);
return pkcs12KeyStoreLoader.getKeyStore();
case PKCS8:
IKeyStoreLoader pkcs8KeyStoreLoader = new PKCS8KeyStoreLoader(location,
parameters.get(KEY_STORE_CERTIFICATE_FILE_PATH),
keyStorePassword, alias);
return pkcs8KeyStoreLoader.getKeyStore();
case CA_CERTIFICATES_PATH:
ICACertsLoader caCertsLoader = new CACertsLoader();
return caCertsLoader.loadTrustStore(location);
default:
if (log.isDebugEnabled()) {