Grafeas V1 Client - Class DSSEAttestationOccurrence (1.1.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

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ envelope Envelope

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

↳ statement InTotoStatement

getEnvelope

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

Returns
Type Description
Envelope|null

hasEnvelope

clearEnvelope

setEnvelope

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

Parameter
Name Description
var Envelope
Returns
Type Description
$this

getStatement

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

Returns
Type Description
InTotoStatement|null

hasStatement

setStatement

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

Parameter
Name Description
var InTotoStatement
Returns
Type Description
$this

getDecodedPayload

Returns
Type Description
string