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

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

Namespace

Google \ Cloud \ ConfidentialComputing \ V1

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.

↳ confidential_space_info Google\Cloud\ConfidentialComputing\V1\ConfidentialSpaceInfo

Optional. Optional information related to the Confidential Space TEE.

↳ token_options Google\Cloud\ConfidentialComputing\V1\TokenOptions

Optional. A collection of optional, workload-specified claims that modify the token output.

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

getConfidentialSpaceInfo

Optional. Optional information related to the Confidential Space TEE.

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

hasConfidentialSpaceInfo

clearConfidentialSpaceInfo

setConfidentialSpaceInfo

Optional. Optional information related to the Confidential Space TEE.

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

getTokenOptions

Optional. A collection of optional, workload-specified claims that modify the token output.

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

hasTokenOptions

clearTokenOptions

setTokenOptions

Optional. A collection of optional, workload-specified claims that modify the token output.

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