[BindServiceMethod(typeof(CertificateAuthorityService), "BindService")]
public abstract class CertificateAuthorityServiceBase
Base class for server-side implementations of CertificateAuthorityService
Namespace
Google.Cloud.Security.PrivateCA.V1Beta1Assembly
Google.Cloud.Security.PrivateCA.V1Beta1.dll
Methods
ActivateCertificateAuthority(ActivateCertificateAuthorityRequest, ServerCallContext)
public virtual Task<Operation> ActivateCertificateAuthority(ActivateCertificateAuthorityRequest request, ServerCallContext context)
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.
Parameters | |
---|---|
Name | Description |
request | ActivateCertificateAuthorityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
CreateCertificate(CreateCertificateRequest, ServerCallContext)
public virtual Task<Certificate> CreateCertificate(CreateCertificateRequest request, ServerCallContext context)
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].
Parameters | |
---|---|
Name | Description |
request | CreateCertificateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Certificate> | The response to send back to the client (wrapped by a task). |
CreateCertificateAuthority(CreateCertificateAuthorityRequest, ServerCallContext)
public virtual Task<Operation> CreateCertificateAuthority(CreateCertificateAuthorityRequest request, ServerCallContext context)
Create a new [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in a given Project and Location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateAuthorityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DisableCertificateAuthority(DisableCertificateAuthorityRequest, ServerCallContext)
public virtual Task<Operation> DisableCertificateAuthority(DisableCertificateAuthorityRequest request, ServerCallContext context)
Disable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
Parameters | |
---|---|
Name | Description |
request | DisableCertificateAuthorityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
EnableCertificateAuthority(EnableCertificateAuthorityRequest, ServerCallContext)
public virtual Task<Operation> EnableCertificateAuthority(EnableCertificateAuthorityRequest request, ServerCallContext context)
Enable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
Parameters | |
---|---|
Name | Description |
request | EnableCertificateAuthorityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
FetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest, ServerCallContext)
public virtual Task<FetchCertificateAuthorityCsrResponse> FetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request, ServerCallContext context)
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].
Parameters | |
---|---|
Name | Description |
request | FetchCertificateAuthorityCsrRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<FetchCertificateAuthorityCsrResponse> | The response to send back to the client (wrapped by a task). |
GetCertificate(GetCertificateRequest, ServerCallContext)
public virtual Task<Certificate> GetCertificate(GetCertificateRequest request, ServerCallContext context)
Returns a [Certificate][google.cloud.security.privateca.v1beta1.Certificate].
Parameters | |
---|---|
Name | Description |
request | GetCertificateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Certificate> | The response to send back to the client (wrapped by a task). |
GetCertificateAuthority(GetCertificateAuthorityRequest, ServerCallContext)
public virtual Task<CertificateAuthority> GetCertificateAuthority(GetCertificateAuthorityRequest request, ServerCallContext context)
Returns a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
Parameters | |
---|---|
Name | Description |
request | GetCertificateAuthorityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<CertificateAuthority> | The response to send back to the client (wrapped by a task). |
GetCertificateRevocationList(GetCertificateRevocationListRequest, ServerCallContext)
public virtual Task<CertificateRevocationList> GetCertificateRevocationList(GetCertificateRevocationListRequest request, ServerCallContext context)
Returns a [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList].
Parameters | |
---|---|
Name | Description |
request | GetCertificateRevocationListRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<CertificateRevocationList> | The response to send back to the client (wrapped by a task). |
GetReusableConfig(GetReusableConfigRequest, ServerCallContext)
public virtual Task<ReusableConfig> GetReusableConfig(GetReusableConfigRequest request, ServerCallContext context)
Returns a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig].
Parameters | |
---|---|
Name | Description |
request | GetReusableConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ReusableConfig> | The response to send back to the client (wrapped by a task). |
ListCertificateAuthorities(ListCertificateAuthoritiesRequest, ServerCallContext)
public virtual Task<ListCertificateAuthoritiesResponse> ListCertificateAuthorities(ListCertificateAuthoritiesRequest request, ServerCallContext context)
Lists [CertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthority].
Parameters | |
---|---|
Name | Description |
request | ListCertificateAuthoritiesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListCertificateAuthoritiesResponse> | The response to send back to the client (wrapped by a task). |
ListCertificateRevocationLists(ListCertificateRevocationListsRequest, ServerCallContext)
public virtual Task<ListCertificateRevocationListsResponse> ListCertificateRevocationLists(ListCertificateRevocationListsRequest request, ServerCallContext context)
Lists [CertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateRevocationList].
Parameters | |
---|---|
Name | Description |
request | ListCertificateRevocationListsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListCertificateRevocationListsResponse> | The response to send back to the client (wrapped by a task). |
ListCertificates(ListCertificatesRequest, ServerCallContext)
public virtual Task<ListCertificatesResponse> ListCertificates(ListCertificatesRequest request, ServerCallContext context)
Lists [Certificates][google.cloud.security.privateca.v1beta1.Certificate].
Parameters | |
---|---|
Name | Description |
request | ListCertificatesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListCertificatesResponse> | The response to send back to the client (wrapped by a task). |
ListReusableConfigs(ListReusableConfigsRequest, ServerCallContext)
public virtual Task<ListReusableConfigsResponse> ListReusableConfigs(ListReusableConfigsRequest request, ServerCallContext context)
Lists [ReusableConfigs][google.cloud.security.privateca.v1beta1.ReusableConfig].
Parameters | |
---|---|
Name | Description |
request | ListReusableConfigsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListReusableConfigsResponse> | The response to send back to the client (wrapped by a task). |
RestoreCertificateAuthority(RestoreCertificateAuthorityRequest, ServerCallContext)
public virtual Task<Operation> RestoreCertificateAuthority(RestoreCertificateAuthorityRequest request, ServerCallContext context)
Restore a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is scheduled for deletion.
Parameters | |
---|---|
Name | Description |
request | RestoreCertificateAuthorityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
RevokeCertificate(RevokeCertificateRequest, ServerCallContext)
public virtual Task<Certificate> RevokeCertificate(RevokeCertificateRequest request, ServerCallContext context)
Revoke a [Certificate][google.cloud.security.privateca.v1beta1.Certificate].
Parameters | |
---|---|
Name | Description |
request | RevokeCertificateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Certificate> | The response to send back to the client (wrapped by a task). |
ScheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest, ServerCallContext)
public virtual Task<Operation> ScheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest request, ServerCallContext context)
Schedule a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] for deletion.
Parameters | |
---|---|
Name | Description |
request | ScheduleDeleteCertificateAuthorityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
UpdateCertificate(UpdateCertificateRequest, ServerCallContext)
public virtual Task<Certificate> UpdateCertificate(UpdateCertificateRequest request, ServerCallContext context)
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.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Certificate> | The response to send back to the client (wrapped by a task). |
UpdateCertificateAuthority(UpdateCertificateAuthorityRequest, ServerCallContext)
public virtual Task<Operation> UpdateCertificateAuthority(UpdateCertificateAuthorityRequest request, ServerCallContext context)
Update a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateAuthorityRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
UpdateCertificateRevocationList(UpdateCertificateRevocationListRequest, ServerCallContext)
public virtual Task<Operation> UpdateCertificateRevocationList(UpdateCertificateRevocationListRequest request, ServerCallContext context)
Update a [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList].
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateRevocationListRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |