Class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub (2.14.0)

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

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
NameDescription
requestActivateCertificateAuthorityRequest
Returns
TypeDescription
Operation

build(Channel channel, CallOptions callOptions)

protected CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateCaPoolRequest
Returns
TypeDescription
Operation

createCertificate(CreateCertificateRequest request)

public Certificate createCertificate(CreateCertificateRequest request)

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

Parameter
NameDescription
requestCreateCertificateRequest
Returns
TypeDescription
Certificate

createCertificateAuthority(CreateCertificateAuthorityRequest request)

public Operation createCertificateAuthority(CreateCertificateAuthorityRequest request)

Create a new CertificateAuthority in a given Project and Location.

Parameter
NameDescription
requestCreateCertificateAuthorityRequest
Returns
TypeDescription
Operation

createCertificateTemplate(CreateCertificateTemplateRequest request)

public Operation createCertificateTemplate(CreateCertificateTemplateRequest request)

Create a new CertificateTemplate in a given Project and Location.

Parameter
NameDescription
requestCreateCertificateTemplateRequest
Returns
TypeDescription
Operation

deleteCaPool(DeleteCaPoolRequest request)

public Operation deleteCaPool(DeleteCaPoolRequest request)

Delete a CaPool.

Parameter
NameDescription
requestDeleteCaPoolRequest
Returns
TypeDescription
Operation

deleteCertificateAuthority(DeleteCertificateAuthorityRequest request)

public Operation deleteCertificateAuthority(DeleteCertificateAuthorityRequest request)

Delete a CertificateAuthority.

Parameter
NameDescription
requestDeleteCertificateAuthorityRequest
Returns
TypeDescription
Operation

deleteCertificateTemplate(DeleteCertificateTemplateRequest request)

public Operation deleteCertificateTemplate(DeleteCertificateTemplateRequest request)

DeleteCertificateTemplate deletes a CertificateTemplate.

Parameter
NameDescription
requestDeleteCertificateTemplateRequest
Returns
TypeDescription
Operation

disableCertificateAuthority(DisableCertificateAuthorityRequest request)

public Operation disableCertificateAuthority(DisableCertificateAuthorityRequest request)

Disable a CertificateAuthority.

Parameter
NameDescription
requestDisableCertificateAuthorityRequest
Returns
TypeDescription
Operation

enableCertificateAuthority(EnableCertificateAuthorityRequest request)

public Operation enableCertificateAuthority(EnableCertificateAuthorityRequest request)

Enable a CertificateAuthority.

Parameter
NameDescription
requestEnableCertificateAuthorityRequest
Returns
TypeDescription
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 ACTIVE CertificateAuthority resources in the CaPool.

Parameter
NameDescription
requestFetchCaCertsRequest
Returns
TypeDescription
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
NameDescription
requestFetchCertificateAuthorityCsrRequest
Returns
TypeDescription
FetchCertificateAuthorityCsrResponse

getCaPool(GetCaPoolRequest request)

public CaPool getCaPool(GetCaPoolRequest request)

Returns a CaPool.

Parameter
NameDescription
requestGetCaPoolRequest
Returns
TypeDescription
CaPool

getCertificate(GetCertificateRequest request)

public Certificate getCertificate(GetCertificateRequest request)

Returns a Certificate.

Parameter
NameDescription
requestGetCertificateRequest
Returns
TypeDescription
Certificate

getCertificateAuthority(GetCertificateAuthorityRequest request)

public CertificateAuthority getCertificateAuthority(GetCertificateAuthorityRequest request)

Returns a CertificateAuthority.

Parameter
NameDescription
requestGetCertificateAuthorityRequest
Returns
TypeDescription
CertificateAuthority

getCertificateRevocationList(GetCertificateRevocationListRequest request)

public CertificateRevocationList getCertificateRevocationList(GetCertificateRevocationListRequest request)

Returns a CertificateRevocationList.

Parameter
NameDescription
requestGetCertificateRevocationListRequest
Returns
TypeDescription
CertificateRevocationList

getCertificateTemplate(GetCertificateTemplateRequest request)

public CertificateTemplate getCertificateTemplate(GetCertificateTemplateRequest request)

Returns a CertificateTemplate.

Parameter
NameDescription
requestGetCertificateTemplateRequest
Returns
TypeDescription
CertificateTemplate

listCaPools(ListCaPoolsRequest request)

public ListCaPoolsResponse listCaPools(ListCaPoolsRequest request)

Lists CaPools.

Parameter
NameDescription
requestListCaPoolsRequest
Returns
TypeDescription
ListCaPoolsResponse

listCertificateAuthorities(ListCertificateAuthoritiesRequest request)

public ListCertificateAuthoritiesResponse listCertificateAuthorities(ListCertificateAuthoritiesRequest request)

Lists CertificateAuthorities.

Parameter
NameDescription
requestListCertificateAuthoritiesRequest
Returns
TypeDescription
ListCertificateAuthoritiesResponse

listCertificateRevocationLists(ListCertificateRevocationListsRequest request)

public ListCertificateRevocationListsResponse listCertificateRevocationLists(ListCertificateRevocationListsRequest request)

Lists CertificateRevocationLists.

Parameter
NameDescription
requestListCertificateRevocationListsRequest
Returns
TypeDescription
ListCertificateRevocationListsResponse

listCertificateTemplates(ListCertificateTemplatesRequest request)

public ListCertificateTemplatesResponse listCertificateTemplates(ListCertificateTemplatesRequest request)

Lists CertificateTemplates.

Parameter
NameDescription
requestListCertificateTemplatesRequest
Returns
TypeDescription
ListCertificateTemplatesResponse

listCertificates(ListCertificatesRequest request)

public ListCertificatesResponse listCertificates(ListCertificatesRequest request)

Lists Certificates.

Parameter
NameDescription
requestListCertificatesRequest
Returns
TypeDescription
ListCertificatesResponse

revokeCertificate(RevokeCertificateRequest request)

public Certificate revokeCertificate(RevokeCertificateRequest request)

Revoke a Certificate.

Parameter
NameDescription
requestRevokeCertificateRequest
Returns
TypeDescription
Certificate

undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request)

public Operation undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request)

Undelete a CertificateAuthority that has been deleted.

Parameter
NameDescription
requestUndeleteCertificateAuthorityRequest
Returns
TypeDescription
Operation

updateCaPool(UpdateCaPoolRequest request)

public Operation updateCaPool(UpdateCaPoolRequest request)

Update a CaPool.

Parameter
NameDescription
requestUpdateCaPoolRequest
Returns
TypeDescription
Operation

updateCertificate(UpdateCertificateRequest request)

public Certificate updateCertificate(UpdateCertificateRequest request)

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

Parameter
NameDescription
requestUpdateCertificateRequest
Returns
TypeDescription
Certificate

updateCertificateAuthority(UpdateCertificateAuthorityRequest request)

public Operation updateCertificateAuthority(UpdateCertificateAuthorityRequest request)

Update a CertificateAuthority.

Parameter
NameDescription
requestUpdateCertificateAuthorityRequest
Returns
TypeDescription
Operation

updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)

public Operation updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)

Update a CertificateRevocationList.

Parameter
NameDescription
requestUpdateCertificateRevocationListRequest
Returns
TypeDescription
Operation

updateCertificateTemplate(UpdateCertificateTemplateRequest request)

public Operation updateCertificateTemplate(UpdateCertificateTemplateRequest request)

Update a CertificateTemplate.

Parameter
NameDescription
requestUpdateCertificateTemplateRequest
Returns
TypeDescription
Operation