docs: private static KeyManager[] createAliasedKeyManagers(KeyManager[] delegates, String certAlias)
    {
      KeyManager[] aliasedManagers = new KeyManager[delegates.length];
      for (int i = 0; i < delegates.length; i++) {
        if (delegates[i] instanceof X509ExtendedKeyManager) {
          aliasedManagers[i] = new AliasedX509ExtendedKeyManager((X509ExtendedKeyManager) delegates[i], certAlias);
        } else {
          aliasedManagers[i] = delegates[i];
        }
      }
      return aliasedManagers;
    }