# Google Certificate Authority Service V1 Client - Class EncodingFormat (2.4.0)

2.4.0 (latest) 2.3.0 2.2.2 2.1.1 2.0.3 1.7.3 1.5.0 1.4.2 1.3.1 1.2.2 1.1.0 1.0.3 Reference documentation and code samples for the Google Certificate Authority Service V1 Client class EncodingFormat.

Supported encoding formats for publishing.

Protobuf type `google.cloud.security.privateca.v1.CaPool.PublishingOptions.EncodingFormat`

## Namespace

Google \\ Cloud \\ Security \\ PrivateCA \\ V1 \\ CaPool \\ PublishingOptions

## Methods

### static::name

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

### static::value

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

## Constants

### ENCODING_FORMAT_UNSPECIFIED

    Value: 0

Not specified. By default, PEM format will be used.

Generated from protobuf enum `ENCODING_FORMAT_UNSPECIFIED = 0;`

### PEM

    Value: 1

The
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)'s
CA certificate and CRLs will be published in PEM format.

Generated from protobuf enum `PEM = 1;`

### DER

    Value: 2

The
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)'s
CA certificate and CRLs will be published in DER format.

Generated from protobuf enum `DER = 2;`