Show / Hide Table of Contents

Class CertificateAuthorityService.CertificateAuthorityServiceBase

Base class for server-side implementations of CertificateAuthorityService

Inheritance
System.Object
CertificateAuthorityService.CertificateAuthorityServiceBase
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Security.PrivateCA.V1Beta1
Assembly: Google.Cloud.Security.PrivateCA.V1Beta1.dll
Syntax
[BindServiceMethod(typeof(CertificateAuthorityService), "BindService")]
public abstract class CertificateAuthorityServiceBase

Methods

ActivateCertificateAuthority(ActivateCertificateAuthorityRequest, ServerCallContext)

Activate a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is in state [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. After the parent Certificate Authority signs a certificate signing request from [FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr], this method can complete the activation process.

Declaration
public virtual Task<Operation> ActivateCertificateAuthority(ActivateCertificateAuthorityRequest request, ServerCallContext context)
Parameters
Type Name Description
ActivateCertificateAuthorityRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The response to send back to the client (wrapped by a task).

CreateCertificate(CreateCertificateRequest, ServerCallContext)

Create a new [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in a given Project, Location from a particular [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].

Declaration
public virtual Task<Certificate> CreateCertificate(CreateCertificateRequest request, ServerCallContext context)
Parameters
Type Name Description
CreateCertificateRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Certificate>

The response to send back to the client (wrapped by a task).

CreateCertificateAuthority(CreateCertificateAuthorityRequest, ServerCallContext)

Create a new [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in a given Project and Location.

Declaration
public virtual Task<Operation> CreateCertificateAuthority(CreateCertificateAuthorityRequest request, ServerCallContext context)
Parameters
Type Name Description
CreateCertificateAuthorityRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The response to send back to the client (wrapped by a task).

DisableCertificateAuthority(DisableCertificateAuthorityRequest, ServerCallContext)

Disable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].

Declaration
public virtual Task<Operation> DisableCertificateAuthority(DisableCertificateAuthorityRequest request, ServerCallContext context)
Parameters
Type Name Description
DisableCertificateAuthorityRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The response to send back to the client (wrapped by a task).

EnableCertificateAuthority(EnableCertificateAuthorityRequest, ServerCallContext)

Enable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].

Declaration
public virtual Task<Operation> EnableCertificateAuthority(EnableCertificateAuthorityRequest request, ServerCallContext context)
Parameters
Type Name Description
EnableCertificateAuthorityRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The response to send back to the client (wrapped by a task).

FetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest, ServerCallContext)

Fetch a certificate signing request (CSR) from a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is in state [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. The CSR must then be signed by the desired parent Certificate Authority, which could be another [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] resource, or could be an on-prem certificate authority. See also [ActivateCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority].

Declaration
public virtual Task<FetchCertificateAuthorityCsrResponse> FetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request, ServerCallContext context)
Parameters
Type Name Description
FetchCertificateAuthorityCsrRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<FetchCertificateAuthorityCsrResponse>

The response to send back to the client (wrapped by a task).

GetCertificate(GetCertificateRequest, ServerCallContext)

Returns a [Certificate][google.cloud.security.privateca.v1beta1.Certificate].

Declaration
public virtual Task<Certificate> GetCertificate(GetCertificateRequest request, ServerCallContext context)
Parameters
Type Name Description
GetCertificateRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Certificate>

The response to send back to the client (wrapped by a task).

GetCertificateAuthority(GetCertificateAuthorityRequest, ServerCallContext)

Returns a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].

Declaration
public virtual Task<CertificateAuthority> GetCertificateAuthority(GetCertificateAuthorityRequest request, ServerCallContext context)
Parameters
Type Name Description
GetCertificateAuthorityRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<CertificateAuthority>

The response to send back to the client (wrapped by a task).

GetCertificateRevocationList(GetCertificateRevocationListRequest, ServerCallContext)

Returns a [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList].

Declaration
public virtual Task<CertificateRevocationList> GetCertificateRevocationList(GetCertificateRevocationListRequest request, ServerCallContext context)
Parameters
Type Name Description
GetCertificateRevocationListRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<CertificateRevocationList>

The response to send back to the client (wrapped by a task).

GetReusableConfig(GetReusableConfigRequest, ServerCallContext)

Returns a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig].

Declaration
public virtual Task<ReusableConfig> GetReusableConfig(GetReusableConfigRequest request, ServerCallContext context)
Parameters
Type Name Description
GetReusableConfigRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<ReusableConfig>

The response to send back to the client (wrapped by a task).

ListCertificateAuthorities(ListCertificateAuthoritiesRequest, ServerCallContext)

Lists [CertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthority].

Declaration
public virtual Task<ListCertificateAuthoritiesResponse> ListCertificateAuthorities(ListCertificateAuthoritiesRequest request, ServerCallContext context)
Parameters
Type Name Description
ListCertificateAuthoritiesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<ListCertificateAuthoritiesResponse>

The response to send back to the client (wrapped by a task).

ListCertificateRevocationLists(ListCertificateRevocationListsRequest, ServerCallContext)

Lists [CertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateRevocationList].

Declaration
public virtual Task<ListCertificateRevocationListsResponse> ListCertificateRevocationLists(ListCertificateRevocationListsRequest request, ServerCallContext context)
Parameters
Type Name Description
ListCertificateRevocationListsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<ListCertificateRevocationListsResponse>

The response to send back to the client (wrapped by a task).

ListCertificates(ListCertificatesRequest, ServerCallContext)

Lists [Certificates][google.cloud.security.privateca.v1beta1.Certificate].

Declaration
public virtual Task<ListCertificatesResponse> ListCertificates(ListCertificatesRequest request, ServerCallContext context)
Parameters
Type Name Description
ListCertificatesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<ListCertificatesResponse>

The response to send back to the client (wrapped by a task).

ListReusableConfigs(ListReusableConfigsRequest, ServerCallContext)

Lists [ReusableConfigs][google.cloud.security.privateca.v1beta1.ReusableConfig].

Declaration
public virtual Task<ListReusableConfigsResponse> ListReusableConfigs(ListReusableConfigsRequest request, ServerCallContext context)
Parameters
Type Name Description
ListReusableConfigsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<ListReusableConfigsResponse>

The response to send back to the client (wrapped by a task).

RestoreCertificateAuthority(RestoreCertificateAuthorityRequest, ServerCallContext)

Restore a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is scheduled for deletion.

Declaration
public virtual Task<Operation> RestoreCertificateAuthority(RestoreCertificateAuthorityRequest request, ServerCallContext context)
Parameters
Type Name Description
RestoreCertificateAuthorityRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The response to send back to the client (wrapped by a task).

RevokeCertificate(RevokeCertificateRequest, ServerCallContext)

Revoke a [Certificate][google.cloud.security.privateca.v1beta1.Certificate].

Declaration
public virtual Task<Certificate> RevokeCertificate(RevokeCertificateRequest request, ServerCallContext context)
Parameters
Type Name Description
RevokeCertificateRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Certificate>

The response to send back to the client (wrapped by a task).

ScheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest, ServerCallContext)

Schedule a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] for deletion.

Declaration
public virtual Task<Operation> ScheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest request, ServerCallContext context)
Parameters
Type Name Description
ScheduleDeleteCertificateAuthorityRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateCertificate(UpdateCertificateRequest, ServerCallContext)

Update a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. Currently, the only field you can update is the [labels][google.cloud.security.privateca.v1beta1.Certificate.labels] field.

Declaration
public virtual Task<Certificate> UpdateCertificate(UpdateCertificateRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateCertificateRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Certificate>

The response to send back to the client (wrapped by a task).

UpdateCertificateAuthority(UpdateCertificateAuthorityRequest, ServerCallContext)

Update a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].

Declaration
public virtual Task<Operation> UpdateCertificateAuthority(UpdateCertificateAuthorityRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateCertificateAuthorityRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateCertificateRevocationList(UpdateCertificateRevocationListRequest, ServerCallContext)

Update a [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList].

Declaration
public virtual Task<Operation> UpdateCertificateRevocationList(UpdateCertificateRevocationListRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateCertificateRevocationListRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
System.Threading.Tasks.Task<Operation>

The response to send back to the client (wrapped by a task).

Back to top