def _check_key_types(remote_values, local_values):
    """
    Validates that the key types match regardless of the casing. E.g. 'RSA' == 'rsa'
    :param list[str] remote_values:
    :param list[str] local_values:
    :rtype: bool
    """
    copy = []
    for val in local_values:
        copy.append(val.upper())
    if len(remote_values) == len(local_values):
        return all(x.upper() in copy for x in remote_values)
    else:
        return False