Grafeas V1 Client - Class Envelope (0.9.0)

Reference documentation and code samples for the Grafeas V1 Client class Envelope.

MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.

Generated from protobuf message grafeas.v1.Envelope

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ payload string
↳ payload_type string
↳ signatures array<Grafeas\V1\EnvelopeSignature>

getPayload

Generated from protobuf field bytes payload = 1;

Returns
TypeDescription
string

setPayload

Generated from protobuf field bytes payload = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPayloadType

Generated from protobuf field string payload_type = 2;

Returns
TypeDescription
string

setPayloadType

Generated from protobuf field string payload_type = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSignatures

Generated from protobuf field repeated .grafeas.v1.EnvelopeSignature signatures = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSignatures

Generated from protobuf field repeated .grafeas.v1.EnvelopeSignature signatures = 3;

Parameter
NameDescription
var array<Grafeas\V1\EnvelopeSignature>
Returns
TypeDescription
$this