Class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub (2.54.0)

public static final class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub extends AbstractBlockingStub<CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service CertificateAuthorityService.

Certificate Authority Service manages private certificate authorities and issued certificates.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub

Methods

activateCertificateAuthority(ActivateCertificateAuthorityRequest request)

public Operation activateCertificateAuthority(ActivateCertificateAuthorityRequest request)

Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. After the parent Certificate Authority signs a certificate signing request from FetchCertificateAuthorityCsr, this method can complete the activation process.

Parameter
Name Description
request ActivateCertificateAuthorityRequest
Returns
Type Description
Operation

build(Channel channel, CallOptions callOptions)

protected CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createCaPool(CreateCaPoolRequest request)

public Operation createCaPool(CreateCaPoolRequest request)

Create a CaPool.

Parameter
Name Description
request CreateCaPoolRequest
Returns
Type Description
Operation

createCertificate(CreateCertificateRequest request)

public Certificate createCertificate(CreateCertificateRequest request)

Create a new Certificate in a given Project, Location from a particular CaPool.

Parameter
Name Description
request CreateCertificateRequest
Returns
Type Description
Certificate

createCertificateAuthority(CreateCertificateAuthorityRequest request)

public Operation createCertificateAuthority(CreateCertificateAuthorityRequest request)

Create a new CertificateAuthority in a given Project and Location.

Parameter
Name Description
request CreateCertificateAuthorityRequest
Returns
Type Description
Operation

createCertificateTemplate(CreateCertificateTemplateRequest request)

public Operation createCertificateTemplate(CreateCertificateTemplateRequest request)

Create a new CertificateTemplate in a given Project and Location.

Parameter
Name Description
request CreateCertificateTemplateRequest
Returns
Type Description
Operation

deleteCaPool(DeleteCaPoolRequest request)

public Operation deleteCaPool(DeleteCaPoolRequest request)

Delete a CaPool.

Parameter
Name Description
request DeleteCaPoolRequest
Returns
Type Description
Operation

deleteCertificateAuthority(DeleteCertificateAuthorityRequest request)

public Operation deleteCertificateAuthority(DeleteCertificateAuthorityRequest request)

Delete a CertificateAuthority.

Parameter
Name Description
request DeleteCertificateAuthorityRequest
Returns
Type Description
Operation

deleteCertificateTemplate(DeleteCertificateTemplateRequest request)

public Operation deleteCertificateTemplate(DeleteCertificateTemplateRequest request)

DeleteCertificateTemplate deletes a CertificateTemplate.

Parameter
Name Description
request DeleteCertificateTemplateRequest
Returns
Type Description
Operation

disableCertificateAuthority(DisableCertificateAuthorityRequest request)

public Operation disableCertificateAuthority(DisableCertificateAuthorityRequest request)

Disable a CertificateAuthority.

Parameter
Name Description
request DisableCertificateAuthorityRequest
Returns
Type Description
Operation

enableCertificateAuthority(EnableCertificateAuthorityRequest request)

public Operation enableCertificateAuthority(EnableCertificateAuthorityRequest request)

Enable a CertificateAuthority.

Parameter
Name Description
request EnableCertificateAuthorityRequest
Returns
Type Description
Operation

fetchCaCerts(FetchCaCertsRequest request)

public FetchCaCertsResponse fetchCaCerts(FetchCaCertsRequest request)

FetchCaCerts returns the current trust anchor for the CaPool. This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states.

Parameter
Name Description
request FetchCaCertsRequest
Returns
Type Description
FetchCaCertsResponse

fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request)

public FetchCertificateAuthorityCsrResponse fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request)

Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. The CSR must then be signed by the desired parent Certificate Authority, which could be another CertificateAuthority resource, or could be an on-prem certificate authority. See also ActivateCertificateAuthority.

Parameter
Name Description
request FetchCertificateAuthorityCsrRequest
Returns
Type Description
FetchCertificateAuthorityCsrResponse

getCaPool(GetCaPoolRequest request)

public CaPool getCaPool(GetCaPoolRequest request)

Returns a CaPool.

Parameter
Name Description
request GetCaPoolRequest
Returns
Type Description
CaPool

getCertificate(GetCertificateRequest request)

public Certificate getCertificate(GetCertificateRequest request)

Returns a Certificate.

Parameter
Name Description
request GetCertificateRequest
Returns
Type Description
Certificate

getCertificateAuthority(GetCertificateAuthorityRequest request)

public CertificateAuthority getCertificateAuthority(GetCertificateAuthorityRequest request)

Returns a CertificateAuthority.

Parameter
Name Description
request GetCertificateAuthorityRequest
Returns
Type Description
CertificateAuthority

getCertificateRevocationList(GetCertificateRevocationListRequest request)

public CertificateRevocationList getCertificateRevocationList(GetCertificateRevocationListRequest request)

Returns a CertificateRevocationList.

Parameter
Name Description
request GetCertificateRevocationListRequest
Returns
Type Description
CertificateRevocationList

getCertificateTemplate(GetCertificateTemplateRequest request)

public CertificateTemplate getCertificateTemplate(GetCertificateTemplateRequest request)

Returns a CertificateTemplate.

Parameter
Name Description
request GetCertificateTemplateRequest
Returns
Type Description
CertificateTemplate

listCaPools(ListCaPoolsRequest request)

public ListCaPoolsResponse listCaPools(ListCaPoolsRequest request)

Lists CaPools.

Parameter
Name Description
request ListCaPoolsRequest
Returns
Type Description
ListCaPoolsResponse

listCertificateAuthorities(ListCertificateAuthoritiesRequest request)

public ListCertificateAuthoritiesResponse listCertificateAuthorities(ListCertificateAuthoritiesRequest request)

Lists CertificateAuthorities.

Parameter
Name Description
request ListCertificateAuthoritiesRequest
Returns
Type Description
ListCertificateAuthoritiesResponse

listCertificateRevocationLists(ListCertificateRevocationListsRequest request)

public ListCertificateRevocationListsResponse listCertificateRevocationLists(ListCertificateRevocationListsRequest request)

Lists CertificateRevocationLists.

Parameter
Name Description
request ListCertificateRevocationListsRequest
Returns
Type Description
ListCertificateRevocationListsResponse

listCertificateTemplates(ListCertificateTemplatesRequest request)

public ListCertificateTemplatesResponse listCertificateTemplates(ListCertificateTemplatesRequest request)

Lists CertificateTemplates.

Parameter
Name Description
request ListCertificateTemplatesRequest
Returns
Type Description
ListCertificateTemplatesResponse

listCertificates(ListCertificatesRequest request)

public ListCertificatesResponse listCertificates(ListCertificatesRequest request)

Lists Certificates.

Parameter
Name Description
request ListCertificatesRequest
Returns
Type Description
ListCertificatesResponse

revokeCertificate(RevokeCertificateRequest request)

public Certificate revokeCertificate(RevokeCertificateRequest request)

Revoke a Certificate.

Parameter
Name Description
request RevokeCertificateRequest
Returns
Type Description
Certificate

undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request)

public Operation undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request)

Undelete a CertificateAuthority that has been deleted.

Parameter
Name Description
request UndeleteCertificateAuthorityRequest
Returns
Type Description
Operation

updateCaPool(UpdateCaPoolRequest request)

public Operation updateCaPool(UpdateCaPoolRequest request)

Update a CaPool.

Parameter
Name Description
request UpdateCaPoolRequest
Returns
Type Description
Operation

updateCertificate(UpdateCertificateRequest request)

public Certificate updateCertificate(UpdateCertificateRequest request)

Update a Certificate. Currently, the only field you can update is the labels field.

Parameter
Name Description
request UpdateCertificateRequest
Returns
Type Description
Certificate

updateCertificateAuthority(UpdateCertificateAuthorityRequest request)

public Operation updateCertificateAuthority(UpdateCertificateAuthorityRequest request)

Update a CertificateAuthority.

Parameter
Name Description
request UpdateCertificateAuthorityRequest
Returns
Type Description
Operation

updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)

public Operation updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)

Update a CertificateRevocationList.

Parameter
Name Description
request UpdateCertificateRevocationListRequest
Returns
Type Description
Operation

updateCertificateTemplate(UpdateCertificateTemplateRequest request)

public Operation updateCertificateTemplate(UpdateCertificateTemplateRequest request)

Update a CertificateTemplate.

Parameter
Name Description
request UpdateCertificateTemplateRequest
Returns
Type Description
Operation