Skip to main content

Module license

Module license 

Source
Expand description

Commercial licensing support for .ald format (§9)

Provides license blocks for commercial dataset distribution with:

  • Expiration enforcement
  • Seat limits
  • Query limits
  • Revocation support

Modules§

flags
License flags (§9.2)

Structs§

LicenseBlock
Commercial license block
LicenseBuilder
License builder for convenient construction

Constants§

LICENSE_BLOCK_FIXED_SIZE
License block size (fixed portion, 71 bytes)

Functions§

generate_license_id
Generate a random UUID v4 for license IDs
hash_licensee
Hash licensee identifier using SHA-256