Skip to content

PluginLicenseManifest

Record in Oadm.Sdk.Licensing · Oadm.Sdk.dll

The license entry of a plugin’s plugin.json: the plugin is sold with a license. Without this entry the plugin is free and OADM asks for no license.

public sealed record PluginLicenseManifest(string PublicKey, IReadOnlyList<string>? Features = null, int TrialDays = 0)

Parameters

  • PublicKey: The vendor’s public key (base64 of the SubjectPublicKeyInfo of an ECDSA P-256 key, as manage license keys writes it). Only licenses signed with the matching private key are accepted.
  • Features: The features a license can unlock, for the Plugins page and the vendor’s signing tool.
  • TrialDays: Days the plugin runs without a license, counted from the day the server first loaded it; 0 = no trial.
IReadOnlyList<string>? Features { get; init; }

The features a license can unlock, for the Plugins page and the vendor’s signing tool.

string PublicKey { get; init; }

The vendor’s public key (base64 of the SubjectPublicKeyInfo of an ECDSA P-256 key, as manage license keys writes it). Only licenses signed with the matching private key are accepted.

int TrialDays { get; init; }

Days the plugin runs without a license, counted from the day the server first loaded it; 0 = no trial.