Cloud KMS V1 Client - Class KeyOperationAttestation (1.15.3)

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

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

hasCertChains

clearCertChains

setCertChains

Output only. The certificate chains needed to validate the attestation

Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: