# Google Cloud IoT Core V1 Client - Class X509CertificateDetails (1.7.5)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.7.5 (latest)](https://docs.cloud.google.com/php/docs/reference/cloud-iot/latest/V1.X509CertificateDetails)
- [1.7.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.7.4/V1.X509CertificateDetails)
- [1.6.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.6.4/V1.X509CertificateDetails)
- [1.5.12](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.5.12/V1.X509CertificateDetails)
Reference documentation and code samples for the Google Cloud IoT Core V1 Client class X509CertificateDetails.

Details of an X.509 certificate. For informational purposes only.

Generated from protobuf message `google.cloud.iot.v1.X509CertificateDetails`

## Namespace

Google \\ Cloud \\ Iot \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ issuer` | `string` The entity that signed the certificate. |
| `↳ subject` | `string` The entity the certificate and public key belong to. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time the certificate becomes valid. |
| `↳ expiry_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time the certificate becomes invalid. |
| `↳ signature_algorithm` | `string` The algorithm used to sign the certificate. |
| `↳ public_key_type` | `string` The type of public key in the certificate. |

### getIssuer

The entity that signed the certificate.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setIssuer

The entity that signed the certificate.

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

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

### getSubject

The entity the certificate and public key belong to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSubject

The entity the certificate and public key belong to.

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

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

### getStartTime

The time the certificate becomes valid.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

The time the certificate becomes valid.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getExpiryTime

The time the certificate becomes invalid.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasExpiryTime

### clearExpiryTime

### setExpiryTime

The time the certificate becomes invalid.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getSignatureAlgorithm

The algorithm used to sign the certificate.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSignatureAlgorithm

The algorithm used to sign the certificate.

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

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

### getPublicKeyType

The type of public key in the certificate.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPublicKeyType

The type of public key in the certificate.

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

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