Certificate store tool

This commit is contained in:
Jakub Melka
2020-11-02 19:24:27 +01:00
parent d335aaa266
commit 78215e89af
8 changed files with 242 additions and 3 deletions

View File

@ -473,8 +473,9 @@ public:
enum class EntryType : int
{
User, ///< Certificate has been added manually by the user
EUTL ///< Certificate comes EU trusted list
User, ///< Certificate has been added manually by the user
EUTL, ///< Certificate comes EU trusted list
System, ///< System certificate
};
struct CertificateEntry
@ -532,6 +533,9 @@ public:
/// Creates default directory for certificate store
void createDirectoryForDefaultUserCertificatesStore();
/// Returns a list of system certificates
static CertificateEntries getSystemCertificates();
private:
static constexpr int persist_version = 1;