Reference documentation and code samples for the Grafeas V1 Client class InTotoStatement.
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".
Generated from protobuf message grafeas.v1.InTotoStatement
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
string
Always https://in-toto.io/Statement/v0.1
.
↳ subject
array< Subject
>
↳ predicate_type
string
https://slsa.dev/provenance/v0.1
for SlsaProvenance.
↳ provenance
↳ slsa_provenance
↳ slsa_provenance_zero_two
getType
Always https://in-toto.io/Statement/v0.1
.
string
setType
Always https://in-toto.io/Statement/v0.1
.
var
string
$this
getSubject
Generated from protobuf field repeated .grafeas.v1.Subject subject = 2;
setSubject
Generated from protobuf field repeated .grafeas.v1.Subject subject = 2;
$this
getPredicateType
https://slsa.dev/provenance/v0.1
for SlsaProvenance.
string
setPredicateType
https://slsa.dev/provenance/v0.1
for SlsaProvenance.
var
string
$this
getProvenance
Generated from protobuf field .grafeas.v1.InTotoProvenance provenance = 4;
hasProvenance
setProvenance
Generated from protobuf field .grafeas.v1.InTotoProvenance provenance = 4;
$this
getSlsaProvenance
Generated from protobuf field .grafeas.v1.SlsaProvenance slsa_provenance = 5;
hasSlsaProvenance
setSlsaProvenance
Generated from protobuf field .grafeas.v1.SlsaProvenance slsa_provenance = 5;
$this
getSlsaProvenanceZeroTwo
Generated from protobuf field .grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
hasSlsaProvenanceZeroTwo
setSlsaProvenanceZeroTwo
Generated from protobuf field .grafeas.v1.SlsaProvenanceZeroTwo slsa_provenance_zero_two = 6;
$this
getPredicate
string