private String getKeyAlias(final String keyType, final PrivateKey key) {
    if (key != null) {
      if (key.getAlgorithm().equals(keyType)) {
        return keyAlias;
      } else {
        return null;
      }
    } else {
      return null;
    }
  }
Constructor.

@param mgr The X509KeyManager used as a delegate
@param keyAlias The alias name of the server's keypair and supporting certificate chain
geode-core/src/main/java/org/apache/geode/internal/net/filewatch/ExtendedAliasKeyManager.java