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

Options applied while verifying a signed license. More...

#include <RADSecurity.h>

Public Attributes

std::string requiredIssuerKeyId
 Required issuer key id. Empty accepts any trusted issuer key id. More...
 
std::string product
 Required product id. Empty skips product checking. More...
 
int appMajorVersion = 0
 Requested major version. Zero skips version checking. More...
 
std::string requiredFeature
 Required feature id. Empty skips feature checking. More...
 
std::string machineFingerprint
 Expected machine fingerprint. Empty uses machineFingerprint(). More...
 
std::string expectedLicenseePublicKeyFingerprint
 Expected licensee/customer public key fingerprint. Empty skips check. More...
 
int64_t nowUnixSeconds = 0
 Unix time used for validation. Zero uses the current system time. More...
 
bool allowPortableLicense = false
 Whether portable licenses without a machine fingerprint are allowed. More...
 
std::vector< std::string > revokedIssuerKeyIds
 Issuer key ids that should be rejected even when their public key is known. More...
 

Detailed Description

Options applied while verifying a signed license.

Member Data Documentation

◆ allowPortableLicense

bool RADSecurity::LicenseCheckOptions::allowPortableLicense = false

Whether portable licenses without a machine fingerprint are allowed.

◆ appMajorVersion

int RADSecurity::LicenseCheckOptions::appMajorVersion = 0

Requested major version. Zero skips version checking.

◆ expectedLicenseePublicKeyFingerprint

std::string RADSecurity::LicenseCheckOptions::expectedLicenseePublicKeyFingerprint

Expected licensee/customer public key fingerprint. Empty skips check.

◆ machineFingerprint

std::string RADSecurity::LicenseCheckOptions::machineFingerprint

Expected machine fingerprint. Empty uses machineFingerprint().

◆ nowUnixSeconds

int64_t RADSecurity::LicenseCheckOptions::nowUnixSeconds = 0

Unix time used for validation. Zero uses the current system time.

◆ product

std::string RADSecurity::LicenseCheckOptions::product

Required product id. Empty skips product checking.

◆ requiredFeature

std::string RADSecurity::LicenseCheckOptions::requiredFeature

Required feature id. Empty skips feature checking.

◆ requiredIssuerKeyId

std::string RADSecurity::LicenseCheckOptions::requiredIssuerKeyId

Required issuer key id. Empty accepts any trusted issuer key id.

◆ revokedIssuerKeyIds

std::vector<std::string> RADSecurity::LicenseCheckOptions::revokedIssuerKeyIds

Issuer key ids that should be rejected even when their public key is known.


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