moonlight-qt/identitymanager.h

26 lines
344 B
C
Raw Normal View History

2018-04-29 02:01:00 +00:00
#pragma once
2018-04-29 05:14:27 +00:00
#include <QDir>
2018-04-29 02:01:00 +00:00
class IdentityManager
{
public:
IdentityManager(QDir directory);
2018-04-29 05:14:27 +00:00
QString
getUniqueId();
QByteArray
getCertificate();
QByteArray
getPrivateKey();
2018-04-29 02:01:00 +00:00
private:
QDir m_RootDirectory;
QByteArray m_CachedPrivateKey;
2018-04-29 05:14:27 +00:00
QByteArray m_CachedPemCert;
QString m_CachedUniqueId;
2018-04-29 02:01:00 +00:00
};