/* * Deskflow -- mouse and keyboard sharing utility * SPDX-FileCopyrightText: (C) 2025 Deskflow Developers * SPDX-FileCopyrightText: (C) 2021 Barrier Contributors * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception */ #pragma once #include "FingerprintTypes.h" #include #include #include #include namespace deskflow { /** * @brief formatSSLFingerprint Format an ssl Fingerprint * @param fingerprint input string * @param enableSeparators insert : seperator every byte when true * @return a Formated Fingerprint String */ std::string formatSSLFingerprint(const std::vector &fingerprint, bool enableSeparators = true); std::vector SSLCertFingerprint(X509 *cert, FingerprintType type); } // namespace deskflow