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. |
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 |