InTotoStatement class
Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload.
Envelope.payloadType is always "application/vnd.in-toto+json".
Constructors
-
InTotoStatement({String? P_type, String? predicateType, InTotoProvenance? provenance, SlsaProvenance? slsaProvenance, SlsaProvenanceZeroTwo? slsaProvenanceZeroTwo, List<
Subject> ? subject}) - InTotoStatement.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- P_type ↔ String?
-
Always
https://in-toto.io/Statement/v0.1
.getter/setter pair - predicateType ↔ String?
-
https://slsa.dev/provenance/v0.1
for SlsaProvenance.getter/setter pair - provenance ↔ InTotoProvenance?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slsaProvenance ↔ SlsaProvenance?
-
getter/setter pair
- slsaProvenanceZeroTwo ↔ SlsaProvenanceZeroTwo?
-
getter/setter pair
-
subject
↔ List<
Subject> ? -
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited