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

Public Member Functions

 PublicKey (const boost::filesystem::path &path)
 
 PublicKey (Json::Value uptane_json)
 
 PublicKey (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 28 of file crypto.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 74 of file crypto.cc.


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