chore: TlsCertificate, remove unused items
This commit is contained in:
@ -16,9 +16,6 @@
|
||||
#include <QDir>
|
||||
#include <QProcess>
|
||||
|
||||
static const char *const kCertificateKeyLength = "rsa:";
|
||||
static const char *const kCertificateHashAlgorithm = "-sha256";
|
||||
|
||||
TlsCertificate::TlsCertificate(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
@ -34,8 +31,6 @@ bool TlsCertificate::generateCertificate(const QString &path, int keyLength)
|
||||
return false;
|
||||
}
|
||||
|
||||
QString keySize = kCertificateKeyLength + QString::number(keyLength);
|
||||
|
||||
try {
|
||||
deskflow::generatePemSelfSignedCert(path.toStdString(), keyLength);
|
||||
} catch (const std::exception &e) {
|
||||
|
||||
Reference in New Issue
Block a user