more work
This commit is contained in:
parent
a38bef6bc4
commit
a5d50cd4f0
8 changed files with 322 additions and 97 deletions
|
|
@ -1,15 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include <QDir>
|
||||
|
||||
class IdentityManager
|
||||
{
|
||||
public:
|
||||
IdentityManager(QDir directory);
|
||||
|
||||
QString
|
||||
getUniqueId();
|
||||
|
||||
QByteArray
|
||||
getCertificate();
|
||||
|
||||
QByteArray
|
||||
getPrivateKey();
|
||||
|
||||
private:
|
||||
QDir m_RootDirectory;
|
||||
|
||||
QString m_CachedUniqueId;
|
||||
QByteArray m_CachedPemCert;
|
||||
QByteArray m_CachedPrivateKey;
|
||||
QByteArray m_CachedPemCert;
|
||||
QString m_CachedUniqueId;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue