|
RADLib
RADical C++ application framework
|
Manifest parser, verifier, and installer bridge. More...
#include <RADUpdate.h>
Static Public Member Functions | |
| static RADCore::RADResult< UpdateManifest > | loadManifest (const std::string &path) |
| Loads an update manifest from JSON. More... | |
| static RADCore::RADJsonValue | manifestToJson (const UpdateManifest &manifest) |
| Converts a manifest to JSON. More... | |
| static VerificationResult | verifyBundle (const std::string &bundleRoot, const std::string &manifestPath, const std::string &publicKeyPem={}) |
| Verifies payload hashes, sizes, and optional manifest signature. More... | |
| static RADInstaller::Result | installBundle (const std::string &bundleRoot, const UpdateManifest &manifest, const std::string &targetRoot, const std::vector< std::string > &selectedComponents={}) |
| Installs a bundle using RADInstaller when installerManifest is present. More... | |
| static RADCore::RADResult< ABMetadata > | loadABMetadata (const std::string &path) |
| Loads A/B metadata JSON. More... | |
| static bool | saveABMetadata (const std::string &path, const ABMetadata &metadata, std::string *error=nullptr) |
| Saves A/B metadata JSON. More... | |
| static RADCore::RADJsonValue | abMetadataToJson (const ABMetadata &metadata) |
| Converts A/B metadata to JSON. More... | |
Manifest parser, verifier, and installer bridge.
|
static |
Converts A/B metadata to JSON.
|
static |
Installs a bundle using RADInstaller when installerManifest is present.
|
static |
Loads A/B metadata JSON.
|
static |
Loads an update manifest from JSON.
|
static |
Converts a manifest to JSON.
|
static |
Saves A/B metadata JSON.
|
static |
Verifies payload hashes, sizes, and optional manifest signature.