Reference documentation and code samples for the Grafeas V1 Client class DSSEAttestationOccurrence.
Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence.
Generated from protobuf message grafeas.v1.DSSEAttestationOccurrence
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ envelope |
Grafeas\V1\Envelope
If doing something security critical, make sure to verify the signatures in this metadata. |
↳ statement |
Grafeas\V1\InTotoStatement
|
getEnvelope
If doing something security critical, make sure to verify the signatures in this metadata.
Returns | |
---|---|
Type | Description |
Grafeas\V1\Envelope|null |
hasEnvelope
clearEnvelope
setEnvelope
If doing something security critical, make sure to verify the signatures in this metadata.
Parameter | |
---|---|
Name | Description |
var |
Grafeas\V1\Envelope
|
Returns | |
---|---|
Type | Description |
$this |
getStatement
Generated from protobuf field .grafeas.v1.InTotoStatement statement = 2;
Returns | |
---|---|
Type | Description |
Grafeas\V1\InTotoStatement|null |
hasStatement
setStatement
Generated from protobuf field .grafeas.v1.InTotoStatement statement = 2;
Parameter | |
---|---|
Name | Description |
var |
Grafeas\V1\InTotoStatement
|
Returns | |
---|---|
Type | Description |
$this |
getDecodedPayload
Returns | |
---|---|
Type | Description |
string |