/** * SPDX-FileCopyrightText: 2023 Albert Vaca * * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #ifndef SSLHELPER_H #define SSLHELPER_H #include #include #include namespace SslHelper { QSslKey generateEcPrivateKey(); QSslKey generateRsaPrivateKey(); QSslCertificate generateSelfSignedCertificate(const QSslKey &privateKey, const QString &commonName); } #endif