deskflow/src/lib/net/SecurityLevel.h
sithlord48 e51956e2c7 feat: Client ID verification
based on barrier: 229abab
  Fixes: CVE-2021-42072, CVE-2021-42073
2025-02-17 16:26:29 +00:00

19 lines
529 B
C

/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2025 Deskflow Developers
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
*/
#pragma once
/**
* \enum SecurityLevel
* \brief This enum is used to set how the client and server will communicate.
*/
enum class SecurityLevel
{
PlainText, /** Connections will not be encrypted */
Encrypted, /** Connections will be encrypted */
PeerAuth /** Connections will be encrypted and peers must be authenticated */
};