# Public Certificate Authority v1 API - Class PublicCertificateAuthorityService (1.1.0)

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

- [1.1.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PublicCA.V1/latest/Google.Cloud.Security.PublicCA.V1.PublicCertificateAuthorityService)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PublicCA.V1/1.0.0/Google.Cloud.Security.PublicCA.V1.PublicCertificateAuthorityService)

    public static class PublicCertificateAuthorityService

Reference documentation and code samples for the Public Certificate Authority v1 API class PublicCertificateAuthorityService.

Manages the resources required for ACME [external account
binding](https://tools.ietf.org/html/rfc8555#section-7.3.4) for
the public certificate authority service.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PublicCertificateAuthorityService

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Security.PublicCA.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PublicCA.V1/latest/Google.Cloud.Security.PublicCA.V1)

## Assembly

Google.Cloud.Security.PublicCA.V1.dll

## Methods

### BindService(PublicCertificateAuthorityServiceBase)

    public static ServerServiceDefinition BindService(PublicCertificateAuthorityService.PublicCertificateAuthorityServiceBase serviceImpl)

Creates service definition that can be registered with a server

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `serviceImpl` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PublicCA.V1/latest/Google.Cloud.Security.PublicCA.V1.PublicCertificateAuthorityServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PublicCA.V1/latest/Google.Cloud.Security.PublicCA.V1.PublicCertificateAuthorityService.PublicCertificateAuthorityServiceBase` An object implementing the server-side handling logic. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerServiceDefinition.html` |   |

### BindService(ServiceBinderBase, PublicCertificateAuthorityServiceBase)

    public static void BindService(ServiceBinderBase serviceBinder, PublicCertificateAuthorityService.PublicCertificateAuthorityServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `serviceBinder` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServiceBinderBase.html` Service methods will be bound by calling `AddMethod` on this object. |
| `serviceImpl` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PublicCA.V1/latest/Google.Cloud.Security.PublicCA.V1.PublicCertificateAuthorityServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PublicCA.V1/latest/Google.Cloud.Security.PublicCA.V1.PublicCertificateAuthorityService.PublicCertificateAuthorityServiceBase` An object implementing the server-side handling logic. |