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({Input<List<String>>? expectedCommand, Input<List<ArtifactRule>>? expectedMaterials, Input<List<ArtifactRule>>? expectedProducts, Input<List<SigningKey>>? signingKeys, Input<String>? stepName, Input<String>? threshold})
Creates a new InToto. expectedCommand This field contains the expected command used to perform the step. expectedMaterials 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. expectedProducts Optional. signingKeys This field contains the public keys that can be used to verify the signatures on the step metadata. stepName This field identifies the name of the step in the supply chain. threshold 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.
const
InToto.fromMap(Map<String, dynamic> map)
factory

Properties

expectedCommand → Input<List<String>>?
This field contains the expected command used to perform the step.
final
expectedMaterials → Input<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.
final
expectedProducts → Input<List<ArtifactRule>>?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signingKeys → Input<List<SigningKey>>?
This field contains the public keys that can be used to verify the signatures on the step metadata.
final
stepName → Input<String>?
This field identifies the name of the step in the supply chain.
final
threshold → Input<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.
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