Grafeas V1 Client - Class DSSEAttestationOccurrence (0.7.1)

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
NameDescription
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
TypeDescription
Grafeas\V1\Envelope|null

hasEnvelope

clearEnvelope

setEnvelope

If doing something security critical, make sure to verify the signatures in this metadata.

Parameter
NameDescription
var Grafeas\V1\Envelope
Returns
TypeDescription
$this

getStatement

Generated from protobuf field .grafeas.v1.InTotoStatement statement = 2;

Returns
TypeDescription
Grafeas\V1\InTotoStatement|null

hasStatement

setStatement

Generated from protobuf field .grafeas.v1.InTotoStatement statement = 2;

Parameter
NameDescription
var Grafeas\V1\InTotoStatement
Returns
TypeDescription
$this

getDecodedPayload

Returns
TypeDescription
string