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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 |
↳ 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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGcpCredentials
Optional. Credentials used to populate the "emails" claim in the claims_token.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\ConfidentialComputing\V1\GcpCredentials|null |
|
hasGcpCredentials
clearGcpCredentials
setGcpCredentials
Optional. Credentials used to populate the "emails" claim in the claims_token.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\ConfidentialComputing\V1\GcpCredentials
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTpmAttestation
Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
Google\Cloud\ConfidentialComputing\V1\TpmAttestation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfidentialSpaceInfo
Optional. Optional information related to the Confidential Space TEE.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\ConfidentialComputing\V1\ConfidentialSpaceInfo|null |
|
hasConfidentialSpaceInfo
clearConfidentialSpaceInfo
setConfidentialSpaceInfo
Optional. Optional information related to the Confidential Space TEE.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\ConfidentialComputing\V1\ConfidentialSpaceInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTokenOptions
Optional. A collection of optional, workload-specified claims that modify the token output.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\ConfidentialComputing\V1\TokenOptions|null |
|
hasTokenOptions
clearTokenOptions
setTokenOptions
Optional. A collection of optional, workload-specified claims that modify the token output.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\ConfidentialComputing\V1\TokenOptions
|
| Returns | |
|---|---|
| Type | Description |
$this |
|