KeyManager[] keyManagers = delegate.getKeyManagers();
if (keyStoreAlias != null)
{
for (int i = 0; i < keyManagers.length; i++)
{
keyManagers[i] = new SecurityKeyManager((X509KeyManager) keyManagers[i], keyStoreAlias, null);
}
}
return keyManagers;
}