Class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub (2.5.4)

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 PENDING_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)

createCertificate(CreateCertificateRequest request)

public Certificate createCertificate(CreateCertificateRequest request)

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

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

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

fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request)

public FetchCertificateAuthorityCsrResponse fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request)

Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state PENDING_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

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

getReusableConfig(GetReusableConfigRequest request)

public ReusableConfig getReusableConfig(GetReusableConfigRequest request)

Returns a ReusableConfig.

Parameter
NameDescription
requestGetReusableConfigRequest
Returns
TypeDescription
ReusableConfig

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

listCertificates(ListCertificatesRequest request)

public ListCertificatesResponse listCertificates(ListCertificatesRequest request)

Lists Certificates.

Parameter
NameDescription
requestListCertificatesRequest
Returns
TypeDescription
ListCertificatesResponse

listReusableConfigs(ListReusableConfigsRequest request)

public ListReusableConfigsResponse listReusableConfigs(ListReusableConfigsRequest request)

Lists ReusableConfigs.

Parameter
NameDescription
requestListReusableConfigsRequest
Returns
TypeDescription
ListReusableConfigsResponse

restoreCertificateAuthority(RestoreCertificateAuthorityRequest request)

public Operation restoreCertificateAuthority(RestoreCertificateAuthorityRequest request)

Restore a CertificateAuthority that is scheduled for deletion.

Parameter
NameDescription
requestRestoreCertificateAuthorityRequest
Returns
TypeDescription
Operation

revokeCertificate(RevokeCertificateRequest request)

public Certificate revokeCertificate(RevokeCertificateRequest request)

Revoke a Certificate.

Parameter
NameDescription
requestRevokeCertificateRequest
Returns
TypeDescription
Certificate

scheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest request)

public Operation scheduleDeleteCertificateAuthority(ScheduleDeleteCertificateAuthorityRequest request)

Schedule a CertificateAuthority for deletion.

Parameter
NameDescription
requestScheduleDeleteCertificateAuthorityRequest
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