# Google Cloud IoT Core V1 Client - Class PublicKeyCertificateFormat (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.PublicKeyCertificateFormat)
- [1.7.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.7.4/V1.PublicKeyCertificateFormat)
- [1.6.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.6.4/V1.PublicKeyCertificateFormat)
- [1.5.12](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.5.12/V1.PublicKeyCertificateFormat)
Reference documentation and code samples for the Google Cloud IoT Core V1 Client class PublicKeyCertificateFormat.

The supported formats for the public key.

Protobuf type `google.cloud.iot.v1.PublicKeyCertificateFormat`

## Namespace

Google \\ Cloud \\ Iot \\ V1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT

    Value: 0

The format has not been specified. This is an invalid default value and
must not be used.

Generated from protobuf enum `UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT = 0;`

### X509_CERTIFICATE_PEM

    Value: 1

An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)),
encoded in base64, and wrapped by `---BEGIN CERTIFICATE---` and
`---END CERTIFICATE---`.

Generated from protobuf enum `X509_CERTIFICATE_PEM = 1;`