InTotoStatementResponse 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
-
InTotoStatementResponse({required Input<
String> predicateType, required Input<InTotoProvenanceResponse> provenance, required Input<SlsaProvenanceResponse> slsaProvenance, required Input<SlsaProvenanceZeroTwoResponse> slsaProvenanceZeroTwo, required Input<List< subject, required Input<SubjectResponse> >String> type}) -
Creates a new InTotoStatementResponse.
predicateTypehttps://slsa.dev/provenance/v0.1for SlsaProvenance.provenanceRequired.slsaProvenanceRequired.slsaProvenanceZeroTwoRequired.subjectRequired.typeAlwayshttps://in-toto.io/Statement/v0.1.const -
InTotoStatementResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
predicateType
→ Input<
String> -
https://slsa.dev/provenance/v0.1for SlsaProvenance.final -
provenance
→ Input<
InTotoProvenanceResponse> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slsaProvenance
→ Input<
SlsaProvenanceResponse> -
final
-
slsaProvenanceZeroTwo
→ Input<
SlsaProvenanceZeroTwoResponse> -
final
-
subject
→ Input<
List< SubjectResponse> > -
final
-
type
→ Input<
String> -
Always
https://in-toto.io/Statement/v0.1.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited