PLK class

Plugin License Key - Issued license for plugin access Uses ECIES: both parties derive symmetric key via X25519 ECDH Key derivation: X25519(private, peer_public) → HKDF-SHA256 → AES-256-GCM

Constructors

PLK(List<int> bytes)
factory

Properties

ALLOWED_DOMAINS → List<String>?
Domain restrictions (empty = any domain allowed)
no setter
ALLOWED_TLDS → List<String>?
TLD restrictions (e.g., ".gov", ".mil", ".edu")
no setter
allowedDomains → List<String>?
no setter
allowedTlds → List<String>?
no setter
EXPIRES_AT → int
Unix timestamp when license expires (0 = never expires)
no setter
expiresAt → int
no setter
hashCode → int
The hash code for this object.
no setterinherited
ISSUED_AT → int
Unix timestamp when license was issued
no setter
issuedAt → int
no setter
ISSUER_PEER_ID → String?
Peer ID of the license issuer (OrbPro)
no setter
ISSUER_PUBKEY → List<int>?
Issuer's X25519 public key (32 bytes) Used with licensee's private key to derive shared secret via ECDH
no setter
issuerPeerId → String?
no setter
issuerPubkey → List<int>?
no setter
LICENSE_ID → String?
Unique license key identifier
no setter
LICENSE_TYPE → licenseCategory
Type of license
no setter
LICENSEE_EMAIL → String?
Licensee contact email
no setter
LICENSEE_ORG → String?
Licensee organization name
no setter
LICENSEE_PEER_ID → String?
Licensee's SDN Peer ID
no setter
LICENSEE_PUBKEY → List<int>?
Licensee's X25519 public key (32 bytes)
no setter
licenseeEmail → String?
no setter
licenseeOrg → String?
no setter
licenseePeerId → String?
no setter
licenseePubkey → List<int>?
no setter
licenseId → String?
no setter
licenseType → licenseCategory
no setter
MAX_ACTIVATIONS → int
Maximum concurrent activations (0 = unlimited)
no setter
maxActivations → int
no setter
PLUGIN_ID → String?
Plugin ID this license is for
no setter
PLUGIN_VERSION → String?
Plugin version or version range (semver)
no setter
pluginId → String?
no setter
pluginVersion → String?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SIGNATURE → List<int>?
Ed25519 signature from issuer over all fields (except SIGNATURE)
no setter
VALID_FROM → int
Unix timestamp when license becomes valid
no setter
validFrom → int
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<PLK>