LicensingPubkeyView class
Constructors
-
LicensingPubkeyView({String? alg, List<
LicensingJWK> keys = const [], String? provider, String? publicKey, int? schema, String? tokenFormat}) - Returns a new LicensingPubkeyView instance.
Properties
- alg ↔ String?
-
Alg is always "Ed25519".
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
-
keys
↔ List<
LicensingJWK> -
Keys is the same key as a single-entry JWKS (OKP/Ed25519), for JWKS-shaped consumers.
getter/setter pair
- provider ↔ String?
-
Provider names the KMS holding the private half ("local" | "aws" | ...). "local" means a development key — never trust it in production.
getter/setter pair
- publicKey ↔ String?
-
PublicKey is the 32-byte Ed25519 public key, standard base64. This is the form the engine embeds for offline verification.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema ↔ int?
-
Schema is the license payload schema version this key signs.
getter/setter pair
- tokenFormat ↔ String?
-
TokenFormat states the wire layout so an implementer can verify a token without this service's source.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → LicensingPubkeyView? -
Returns a new LicensingPubkeyView instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< LicensingPubkeyView> -
mapFromJson(
dynamic json) → Map< String, LicensingPubkeyView> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< LicensingPubkeyView> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.