Cloud KMS V1 Client - Class KeyOperationAttestation (1.18.1)

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
NameDescription
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
TypeDescription
int

setFormat

Output only. The format of the attestation data.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getContent

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

Returns
TypeDescription
string

setContent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCertChains

Output only. The certificate chains needed to validate the attestation

Returns
TypeDescription
Google\Cloud\Kms\V1\KeyOperationAttestation\CertificateChains|null

hasCertChains

clearCertChains

setCertChains

Output only. The certificate chains needed to validate the attestation

Parameter
NameDescription
var Google\Cloud\Kms\V1\KeyOperationAttestation\CertificateChains
Returns
TypeDescription
$this