RADLib
RADical C++ application framework
RADSecurity::LicensePayload Struct Reference

License payload covered by the RSA-SHA256 signature. More...

#include <RADSecurity.h>

Public Attributes

std::string product
 Product id, such as "RADLib" or an application id. More...
 
std::string licenseId
 Stable unique license id. More...
 
std::string licensee
 Human-readable licensee name. More...
 
std::string email
 Optional licensee contact email. More...
 
LicenseKind kind = LicenseKind::Unknown
 License category. More...
 
std::string issuedAt
 ISO date string, usually YYYY-MM-DD. More...
 
std::string expiresAt
 Optional ISO date string. Empty means no expiry. More...
 
std::string validFrom
 Optional ISO date before which the license is not valid. More...
 
std::string machineFingerprint
 Optional machine fingerprint binding. Empty means portable. More...
 
std::string licenseePublicKeyFingerprint
 Optional SHA-256 fingerprint of the licensee/customer public key. More...
 
std::string termsId
 Optional commercial terms reference, invoice id, or grant id. More...
 
int maxMajorVersion = 0
 Maximum supported application/framework major version, or 0 for any. More...
 
int seats = 0
 Licensed seat count, or 0 when not seat-limited. More...
 
std::vector< std::string > features
 Feature ids granted by this license. More...
 

Detailed Description

License payload covered by the RSA-SHA256 signature.

Member Data Documentation

◆ email

std::string RADSecurity::LicensePayload::email

Optional licensee contact email.

◆ expiresAt

std::string RADSecurity::LicensePayload::expiresAt

Optional ISO date string. Empty means no expiry.

◆ features

std::vector<std::string> RADSecurity::LicensePayload::features

Feature ids granted by this license.

◆ issuedAt

std::string RADSecurity::LicensePayload::issuedAt

ISO date string, usually YYYY-MM-DD.

◆ kind

LicenseKind RADSecurity::LicensePayload::kind = LicenseKind::Unknown

License category.

◆ licensee

std::string RADSecurity::LicensePayload::licensee

Human-readable licensee name.

◆ licenseePublicKeyFingerprint

std::string RADSecurity::LicensePayload::licenseePublicKeyFingerprint

Optional SHA-256 fingerprint of the licensee/customer public key.

◆ licenseId

std::string RADSecurity::LicensePayload::licenseId

Stable unique license id.

◆ machineFingerprint

std::string RADSecurity::LicensePayload::machineFingerprint

Optional machine fingerprint binding. Empty means portable.

◆ maxMajorVersion

int RADSecurity::LicensePayload::maxMajorVersion = 0

Maximum supported application/framework major version, or 0 for any.

◆ product

std::string RADSecurity::LicensePayload::product

Product id, such as "RADLib" or an application id.

◆ seats

int RADSecurity::LicensePayload::seats = 0

Licensed seat count, or 0 when not seat-limited.

◆ termsId

std::string RADSecurity::LicensePayload::termsId

Optional commercial terms reference, invoice id, or grant id.

◆ validFrom

std::string RADSecurity::LicensePayload::validFrom

Optional ISO date before which the license is not valid.


The documentation for this struct was generated from the following file: