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

Public Member Functions

 PublicKey (const boost::filesystem::path &path)
 
 PublicKey (const Json::Value &uptane_json)
 
 PublicKey (const std::string &value, KeyType type)
 
std::string Value () const
 
KeyType Type () const
 
bool VerifySignature (const std::string &signature, const std::string &message) const
 Verify a signature using this public key.
 
Json::Value ToUptane () const
 Uptane Json representation of this public key. More...
 
std::string KeyId () const
 
bool operator== (const PublicKey &rhs) const
 
bool operator!= (const PublicKey &rhs) const
 

Detailed Description

Definition at line 119 of file types.h.

Member Function Documentation

◆ ToUptane()

Json::Value PublicKey::ToUptane ( ) const

Uptane Json representation of this public key.

Used in root.json and during provisioning.

Definition at line 86 of file crypto.cc.


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