mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 15:26:09 +00:00
26 lines
344 B
C++
26 lines
344 B
C++
#pragma once
|
|
|
|
#include <QDir>
|
|
|
|
class IdentityManager
|
|
{
|
|
public:
|
|
IdentityManager(QDir directory);
|
|
|
|
QString
|
|
getUniqueId();
|
|
|
|
QByteArray
|
|
getCertificate();
|
|
|
|
QByteArray
|
|
getPrivateKey();
|
|
|
|
private:
|
|
QDir m_RootDirectory;
|
|
|
|
QByteArray m_CachedPrivateKey;
|
|
QByteArray m_CachedPemCert;
|
|
QString m_CachedUniqueId;
|
|
};
|