Reference documentation and code samples for the Google Cloud Confidential Computing V1 Client class Challenge.
A Challenge from the server used to guarantee freshness of attestations
Generated from protobuf message google.cloud.confidentialcomputing.v1.Challenge
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name for this Challenge in the format projects/*/locations/*/challenges/*
↳ create_time
↳ expire_time
Google\Protobuf\Timestamp
Output only. The time at which this Challenge will no longer be usable. It is also the expiration time for any tokens generated from this Challenge.
↳ used
bool
Output only. Indicates if this challenge has been used to generate a token.
↳ tpm_nonce
string
Output only. Identical to nonce, but as a string.
getName
Output only. The resource name for this Challenge in the format projects/*/locations/*/challenges/*
string
setName
Output only. The resource name for this Challenge in the format projects/*/locations/*/challenges/*
var
string
$this
getCreateTime
Output only. The time at which this Challenge was created
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which this Challenge was created
$this
getExpireTime
Output only. The time at which this Challenge will no longer be usable. It is also the expiration time for any tokens generated from this Challenge.
hasExpireTime
clearExpireTime
setExpireTime
Output only. The time at which this Challenge will no longer be usable. It is also the expiration time for any tokens generated from this Challenge.
$this
getUsed
Output only. Indicates if this challenge has been used to generate a token.
bool
setUsed
Output only. Indicates if this challenge has been used to generate a token.
var
bool
$this
getTpmNonce
Output only. Identical to nonce, but as a string.
string
setTpmNonce
Output only. Identical to nonce, but as a string.
var
string
$this