Google Cloud Confidential Computing V1 Client - Class Quote (0.6.0)

Reference documentation and code samples for the Google Cloud Confidential Computing V1 Client class Quote.

Information about Platform Control Registers (PCRs) including a signature over their values, which can be used for remote validation.

Generated from protobuf message google.cloud.confidentialcomputing.v1.TpmAttestation.Quote

Namespace

Google \ Cloud \ ConfidentialComputing \ V1 \ TpmAttestation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ hash_algo int

The hash algorithm of the PCR bank being quoted, encoded as a TPM_ALG_ID

↳ pcr_values array|Google\Protobuf\Internal\MapField

Raw binary values of each PCRs being quoted.

↳ raw_quote string

TPM2 quote, encoded as a TPMS_ATTEST

↳ raw_signature string

TPM2 signature, encoded as a TPMT_SIGNATURE

getHashAlgo

The hash algorithm of the PCR bank being quoted, encoded as a TPM_ALG_ID

Returns
TypeDescription
int

setHashAlgo

The hash algorithm of the PCR bank being quoted, encoded as a TPM_ALG_ID

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPcrValues

Raw binary values of each PCRs being quoted.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setPcrValues

Raw binary values of each PCRs being quoted.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getRawQuote

TPM2 quote, encoded as a TPMS_ATTEST

Returns
TypeDescription
string

setRawQuote

TPM2 quote, encoded as a TPMS_ATTEST

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRawSignature

TPM2 signature, encoded as a TPMT_SIGNATURE

Returns
TypeDescription
string

setRawSignature

TPM2 signature, encoded as a TPMT_SIGNATURE

Parameter
NameDescription
var string
Returns
TypeDescription
$this