Google Cloud Confidential Computing V1 Client - Class ConfidentialGkeOptions (1.7.0)

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

Token options for Confidential GKE attestation.

Generated from protobuf message google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions

Namespace

Google \ Cloud \ ConfidentialComputing \ V1 \ VerifyConfidentialGkeRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ audience string

Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.

↳ nonce array

Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.

↳ signature_type int

Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.

getAudience

Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.

Returns
Type Description
string

setAudience

Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.

Parameter
Name Description
var string
Returns
Type Description
$this

getNonce

Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNonce

Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getSignatureType

Optional. Optional specification for how to sign the attestation token.

Defaults to SIGNATURE_TYPE_OIDC if unspecified.

Returns
Type Description
int Enum of type SignatureType.

setSignatureType

Optional. Optional specification for how to sign the attestation token.

Defaults to SIGNATURE_TYPE_OIDC if unspecified.

Parameter
Name Description
var int

Enum of type SignatureType.

Returns
Type Description
$this