InToto class

This contains the fields corresponding to the definition of a software supply chain step in an in-toto layout.

This information goes into a Grafeas note.

Constructors

InToto({List<String>? expectedCommand, List<ArtifactRule>? expectedMaterials, List<ArtifactRule>? expectedProducts, List<SigningKey>? signingKeys, String? stepName, String? threshold})
InToto.fromJson(Map _json)

Properties

expectedCommand List<String>?
This field contains the expected command used to perform the step.
getter/setter pair
expectedMaterials List<ArtifactRule>?
The following fields contain in-toto artifact rules identifying the artifacts that enter this supply chain step, and exit the supply chain step, i.e. materials and products of the step.
getter/setter pair
expectedProducts List<ArtifactRule>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signingKeys List<SigningKey>?
This field contains the public keys that can be used to verify the signatures on the step metadata.
getter/setter pair
stepName String?
This field identifies the name of the step in the supply chain.
getter/setter pair
threshold String?
This field contains a value that indicates the minimum number of keys that need to be used to sign the step's in-toto link.
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