Aktualizr
C++ SOTA Client
Public Member Functions | List of all members
KeyManager Class Reference

Public Member Functions

void copyCertsToCurl (HttpInterface &http) const
 
 KeyManager (std::shared_ptr< INvStorage > backend, KeyManagerConfig config)
 
void loadKeys (const std::string *pkey_content=nullptr, const std::string *cert_content=nullptr, const std::string *ca_content=nullptr)
 
std::string getPkeyFile () const
 
std::string getCertFile () const
 
std::string getCaFile () const
 
std::string getPkey () const
 
std::string getCert () const
 
std::string getCa () const
 
std::string getCN () const
 
void getCertInfo (std::string *subject, std::string *issuer, std::string *not_before, std::string *not_after) const
 
bool isOk () const
 
std::string generateUptaneKeyPair ()
 
KeyType getUptaneKeyType () const
 
Json::Value signTuf (const Json::Value &in_data) const
 
PublicKey UptanePublicKey () const
 

Detailed Description

Definition at line 13 of file keymanager.h.


The documentation for this class was generated from the following files: