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

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
Name Description
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
Type Description
int

setHashAlgo

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

Parameter
Name Description
var int
Returns
Type Description
$this

getPcrValues

Raw binary values of each PCRs being quoted.

Returns
Type Description
Google\Protobuf\Internal\MapField

setPcrValues

Raw binary values of each PCRs being quoted.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getRawQuote

TPM2 quote, encoded as a TPMS_ATTEST

Returns
Type Description
string

setRawQuote

TPM2 quote, encoded as a TPMS_ATTEST

Parameter
Name Description
var string
Returns
Type Description
$this

getRawSignature

TPM2 signature, encoded as a TPMT_SIGNATURE

Returns
Type Description
string

setRawSignature

TPM2 signature, encoded as a TPMT_SIGNATURE

Parameter
Name Description
var string
Returns
Type Description
$this