# Cloud KMS V1 Client - Class CertificateChains (2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.2 2.4.0 2.3.1 2.2.0 2.1.6 2.0.0 1.23.0 1.22.1 1.21.4 1.20.3 1.19.0 1.18.1 1.17.0 1.16.4 1.15.3 Reference documentation and code samples for the Cloud KMS V1 Client class CertificateChains.

Certificate chains needed to verify the attestation.

Certificates in chains are PEM-encoded and are ordered based on
<https://tools.ietf.org/html/rfc5246#section-7.4.2>.

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

## Namespace

Google \\ Cloud \\ Kms \\ V1 \\ KeyOperationAttestation

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cavium_certs` | `string[]` Cavium certificate chain corresponding to the attestation. |
| `↳ google_card_certs` | `string[]` Google card certificate chain corresponding to the attestation. |
| `↳ google_partition_certs` | `string[]` Google partition certificate chain corresponding to the attestation. |

### getCaviumCerts

Cavium certificate chain corresponding to the attestation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setCaviumCerts

Cavium certificate chain corresponding to the attestation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGoogleCardCerts

Google card certificate chain corresponding to the attestation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setGoogleCardCerts

Google card certificate chain corresponding to the attestation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGooglePartitionCerts

Google partition certificate chain corresponding to the attestation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setGooglePartitionCerts

Google partition certificate chain corresponding to the attestation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |