|
| static RADCore::RADResult< std::string > | machineFingerprint () |
| | Returns a privacy-preserving host fingerprint for local license binding. More...
|
| |
| static RADCore::RADResult< std::string > | publicKeyFingerprint (const std::string &publicKeyPem) |
| | Returns a SHA-256 fingerprint for a PEM public key. More...
|
| |
| static std::string | licenseKindToString (LicenseKind kind) |
| | Converts a license kind to stable text. More...
|
| |
| static LicenseKind | licenseKindFromString (const std::string &text) |
| | Parses stable license kind text. More...
|
| |
| static std::string | licenseStatusToString (LicenseStatus status) |
| | Converts a license status to stable text. More...
|
| |
| static RADCore::RADJsonValue | payloadToJson (const LicensePayload &payload) |
| | Serializes the signed payload in canonical form. More...
|
| |
| static RADCore::RADResult< LicensePayload > | payloadFromJson (const RADCore::RADJsonValue &value) |
| | Parses a payload object from JSON. More...
|
| |
| static std::string | canonicalPayloadJson (const LicensePayload &payload) |
| | Returns canonical JSON bytes used for signing and verification. More...
|
| |
| static RADCore::RADResult< RADCore::RADJsonDocument > | createSignedLicense (const LicensePayload &payload, const std::string &privateKeyPem, const std::string &issuerKeyId={}) |
| | Creates a signed license JSON document with a hex RSA-SHA256 signature. More...
|
| |
| static RADCore::RADResult< RADCore::RADJsonDocument > | createNodeLockedLicense (LicensePayload payload, const std::string &privateKeyPem, const std::string &machineFingerprintOverride={}, const std::string &issuerKeyId={}) |
| | Creates a signed license bound to this machine or to machineFingerprintOverride. More...
|
| |
| static LicenseCheckResult | verifySignedLicense (const RADCore::RADJsonDocument &document, const std::string &publicKeyPem, const LicenseCheckOptions &options={}) |
| | Verifies a signed license document using publicKeyPem. More...
|
| |
| static LicenseCheckResult | verifySignedLicense (const RADCore::RADJsonDocument &document, const std::vector< TrustedLicenseKey > &trustedKeys, const LicenseCheckOptions &options={}) |
| | Verifies a signed license document by selecting the trusted key matching key_id. More...
|
| |
| static LicenseCheckResult | verifySignedLicenseFile (const std::string &path, const std::string &publicKeyPem, const LicenseCheckOptions &options={}) |
| | Loads and verifies a signed license file. More...
|
| |
| static LicenseCheckResult | verifySignedLicenseFile (const std::string &path, const std::vector< TrustedLicenseKey > &trustedKeys, const LicenseCheckOptions &options={}) |
| | Loads and verifies a signed license file using a trusted issuer key set. More...
|
| |
| static RADCore::RADResult< void > | writeSignedLicenseFile (const std::string &path, const LicensePayload &payload, const std::string &privateKeyPem, const std::string &issuerKeyId={}) |
| | Writes a signed license file. More...
|
| |
Offline signed-license utilities for RADLib and RADLib applications.