Cloud KMS V1 Client - Class KeyOperationAttestation (1.21.4)

Reference documentation and code samples for the Cloud KMS V1 Client class KeyOperationAttestation.

Contains an HSM-generated attestation about a key operation. For more information, see Verifying attestations.

Generated from protobuf message google.cloud.kms.v1.KeyOperationAttestation

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ format int

Output only. The format of the attestation data.

↳ content string

Output only. The attestation data provided by the HSM when the key operation was performed.

↳ cert_chains Google\Cloud\Kms\V1\KeyOperationAttestation\CertificateChains

Output only. The certificate chains needed to validate the attestation

getFormat

Output only. The format of the attestation data.

Returns
Type Description
int

setFormat

Output only. The format of the attestation data.

Parameter
Name Description
var int
Returns
Type Description
$this

getContent

Output only. The attestation data provided by the HSM when the key operation was performed.

Returns
Type Description
string

setContent

Output only. The attestation data provided by the HSM when the key operation was performed.

Parameter
Name Description
var string
Returns
Type Description
$this

getCertChains

Output only. The certificate chains needed to validate the attestation

Returns
Type Description
Google\Cloud\Kms\V1\KeyOperationAttestation\CertificateChains|null

hasCertChains

clearCertChains

setCertChains

Output only. The certificate chains needed to validate the attestation

Parameter
Name Description
var Google\Cloud\Kms\V1\KeyOperationAttestation\CertificateChains
Returns
Type Description
$this