TRP class
Trust Rule Policy - a signed list of named rules for evaluating a subject. The subject meets the policy when every rule passes; there is no alternative and no nesting.
Properties
- ACTIVE → bool
-
Whether evaluators should currently apply this policy.
no setter
- CREATED_AT → int
-
Unix timestamp in milliseconds when this policy was created.
no setter
- createdAt → int
-
no setter
- DESCRIPTION → String?
-
Human-readable policy description.
no setter
- EVALUATION_INTERVAL_MS → int
-
Periodic evaluation cadence in milliseconds. The 10000 default is the
0.1 Hz baseline and is configurable by the policy author.
no setter
- evaluationIntervalMs → int
-
no setter
- EVALUATOR_PEER_ID → String?
-
Peer identifier of the evaluator that issued this policy record.
no setter
-
EVALUATOR_SIGNATURE
→ List<
int> ? -
Evaluator signature over the policy record.
no setter
- evaluatorPeerId → String?
-
no setter
-
evaluatorSignature
→ List<
int> ? -
no setter
-
EVENT_SOURCES
→ List<
String> ? -
Event names that may trigger evaluation, e.g. "trust-edge", "trust-node",
"entity-profile", or "chain-balance".
no setter
-
eventSources
→ List<
String> ? -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- NAME → String?
-
Human-readable policy name.
no setter
- POLICY_ID → String?
-
Stable policy identifier.
no setter
- policyId → String?
-
no setter
- ROOT → TRPGroup?
-
The policy's rules.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- UPDATED_AT → int
-
Unix timestamp in milliseconds when this policy was last updated.
no setter
- updatedAt → 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