Google Cloud Confidential Computing V1 Client - Class VerifyAttestationRequest (0.1.1)

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

A request for an OIDC token, providing all the necessary information needed for this service to verify the plaform state of the requestor.

Generated from protobuf message google.cloud.confidentialcomputing.v1.VerifyAttestationRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ challenge string

Required. The name of the Challenge whose nonce was used to generate the attestation, in the format projects/*/locations/*/challenges/*. The provided Challenge will be consumed, and cannot be used again.

↳ gcp_credentials Google\Cloud\ConfidentialComputing\V1\GcpCredentials

Optional. Credentials used to populate the "emails" claim in the claims_token.

↳ tpm_attestation Google\Cloud\ConfidentialComputing\V1\TpmAttestation

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

getChallenge

Required. The name of the Challenge whose nonce was used to generate the attestation, in the format projects/*/locations/*/challenges/*. The provided Challenge will be consumed, and cannot be used again.

Returns
TypeDescription
string

setChallenge

Required. The name of the Challenge whose nonce was used to generate the attestation, in the format projects/*/locations/*/challenges/*. The provided Challenge will be consumed, and cannot be used again.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcpCredentials

Optional. Credentials used to populate the "emails" claim in the claims_token.

Returns
TypeDescription
Google\Cloud\ConfidentialComputing\V1\GcpCredentials|null

hasGcpCredentials

clearGcpCredentials

setGcpCredentials

Optional. Credentials used to populate the "emails" claim in the claims_token.

Parameter
NameDescription
var Google\Cloud\ConfidentialComputing\V1\GcpCredentials
Returns
TypeDescription
$this

getTpmAttestation

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

Returns
TypeDescription
Google\Cloud\ConfidentialComputing\V1\TpmAttestation|null

hasTpmAttestation

clearTpmAttestation

setTpmAttestation

Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

Parameter
NameDescription
var Google\Cloud\ConfidentialComputing\V1\TpmAttestation
Returns
TypeDescription
$this