Interface CertificateAuthorityServiceGrpc.AsyncService (2.25.0)

public static interface CertificateAuthorityServiceGrpc.AsyncService

Certificate Authority Service manages private certificate authorities and issued certificates.

Methods

activateCertificateAuthority(ActivateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void activateCertificateAuthority(ActivateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestActivateCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createCaPool(CreateCaPoolRequest request, StreamObserver<Operation> responseObserver)

public default void createCaPool(CreateCaPoolRequest request, StreamObserver<Operation> responseObserver)

Create a CaPool.

Parameters
NameDescription
requestCreateCaPoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createCertificate(CreateCertificateRequest request, StreamObserver<Certificate> responseObserver)

public default void createCertificate(CreateCertificateRequest request, StreamObserver<Certificate> responseObserver)

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

Parameters
NameDescription
requestCreateCertificateRequest
responseObserverio.grpc.stub.StreamObserver<Certificate>

createCertificateAuthority(CreateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void createCertificateAuthority(CreateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Create a new CertificateAuthority in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createCertificateTemplate(CreateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

public default void createCertificateTemplate(CreateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

Create a new CertificateTemplate in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateTemplateRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCaPool(DeleteCaPoolRequest request, StreamObserver<Operation> responseObserver)

public default void deleteCaPool(DeleteCaPoolRequest request, StreamObserver<Operation> responseObserver)

Delete a CaPool.

Parameters
NameDescription
requestDeleteCaPoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCertificateAuthority(DeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void deleteCertificateAuthority(DeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Delete a CertificateAuthority.

Parameters
NameDescription
requestDeleteCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCertificateTemplate(DeleteCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

public default void deleteCertificateTemplate(DeleteCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

DeleteCertificateTemplate deletes a CertificateTemplate.

Parameters
NameDescription
requestDeleteCertificateTemplateRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

disableCertificateAuthority(DisableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void disableCertificateAuthority(DisableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Disable a CertificateAuthority.

Parameters
NameDescription
requestDisableCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

enableCertificateAuthority(EnableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void enableCertificateAuthority(EnableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Enable a CertificateAuthority.

Parameters
NameDescription
requestEnableCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

fetchCaCerts(FetchCaCertsRequest request, StreamObserver<FetchCaCertsResponse> responseObserver)

public default void fetchCaCerts(FetchCaCertsRequest request, StreamObserver<FetchCaCertsResponse> responseObserver)

FetchCaCerts returns the current trust anchor for the CaPool. This will include CA certificate chains for all ACTIVE CertificateAuthority resources in the CaPool.

Parameters
NameDescription
requestFetchCaCertsRequest
responseObserverio.grpc.stub.StreamObserver<FetchCaCertsResponse>

fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request, StreamObserver<FetchCertificateAuthorityCsrResponse> responseObserver)

public default void fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request, StreamObserver<FetchCertificateAuthorityCsrResponse> responseObserver)

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.

Parameters
NameDescription
requestFetchCertificateAuthorityCsrRequest
responseObserverio.grpc.stub.StreamObserver<FetchCertificateAuthorityCsrResponse>

getCaPool(GetCaPoolRequest request, StreamObserver<CaPool> responseObserver)

public default void getCaPool(GetCaPoolRequest request, StreamObserver<CaPool> responseObserver)

Returns a CaPool.

Parameters
NameDescription
requestGetCaPoolRequest
responseObserverio.grpc.stub.StreamObserver<CaPool>

getCertificate(GetCertificateRequest request, StreamObserver<Certificate> responseObserver)

public default void getCertificate(GetCertificateRequest request, StreamObserver<Certificate> responseObserver)

Returns a Certificate.

Parameters
NameDescription
requestGetCertificateRequest
responseObserverio.grpc.stub.StreamObserver<Certificate>

getCertificateAuthority(GetCertificateAuthorityRequest request, StreamObserver<CertificateAuthority> responseObserver)

public default void getCertificateAuthority(GetCertificateAuthorityRequest request, StreamObserver<CertificateAuthority> responseObserver)

Returns a CertificateAuthority.

Parameters
NameDescription
requestGetCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<CertificateAuthority>

getCertificateRevocationList(GetCertificateRevocationListRequest request, StreamObserver<CertificateRevocationList> responseObserver)

public default void getCertificateRevocationList(GetCertificateRevocationListRequest request, StreamObserver<CertificateRevocationList> responseObserver)

Returns a CertificateRevocationList.

Parameters
NameDescription
requestGetCertificateRevocationListRequest
responseObserverio.grpc.stub.StreamObserver<CertificateRevocationList>

getCertificateTemplate(GetCertificateTemplateRequest request, StreamObserver<CertificateTemplate> responseObserver)

public default void getCertificateTemplate(GetCertificateTemplateRequest request, StreamObserver<CertificateTemplate> responseObserver)

Returns a CertificateTemplate.

Parameters
NameDescription
requestGetCertificateTemplateRequest
responseObserverio.grpc.stub.StreamObserver<CertificateTemplate>

listCaPools(ListCaPoolsRequest request, StreamObserver<ListCaPoolsResponse> responseObserver)

public default void listCaPools(ListCaPoolsRequest request, StreamObserver<ListCaPoolsResponse> responseObserver)

Lists CaPools.

Parameters
NameDescription
requestListCaPoolsRequest
responseObserverio.grpc.stub.StreamObserver<ListCaPoolsResponse>

listCertificateAuthorities(ListCertificateAuthoritiesRequest request, StreamObserver<ListCertificateAuthoritiesResponse> responseObserver)

public default void listCertificateAuthorities(ListCertificateAuthoritiesRequest request, StreamObserver<ListCertificateAuthoritiesResponse> responseObserver)

Lists CertificateAuthorities.

Parameters
NameDescription
requestListCertificateAuthoritiesRequest
responseObserverio.grpc.stub.StreamObserver<ListCertificateAuthoritiesResponse>

listCertificateRevocationLists(ListCertificateRevocationListsRequest request, StreamObserver<ListCertificateRevocationListsResponse> responseObserver)

public default void listCertificateRevocationLists(ListCertificateRevocationListsRequest request, StreamObserver<ListCertificateRevocationListsResponse> responseObserver)

Lists CertificateRevocationLists.

Parameters
NameDescription
requestListCertificateRevocationListsRequest
responseObserverio.grpc.stub.StreamObserver<ListCertificateRevocationListsResponse>

listCertificateTemplates(ListCertificateTemplatesRequest request, StreamObserver<ListCertificateTemplatesResponse> responseObserver)

public default void listCertificateTemplates(ListCertificateTemplatesRequest request, StreamObserver<ListCertificateTemplatesResponse> responseObserver)

Lists CertificateTemplates.

Parameters
NameDescription
requestListCertificateTemplatesRequest
responseObserverio.grpc.stub.StreamObserver<ListCertificateTemplatesResponse>

listCertificates(ListCertificatesRequest request, StreamObserver<ListCertificatesResponse> responseObserver)

public default void listCertificates(ListCertificatesRequest request, StreamObserver<ListCertificatesResponse> responseObserver)

Lists Certificates.

Parameters
NameDescription
requestListCertificatesRequest
responseObserverio.grpc.stub.StreamObserver<ListCertificatesResponse>

revokeCertificate(RevokeCertificateRequest request, StreamObserver<Certificate> responseObserver)

public default void revokeCertificate(RevokeCertificateRequest request, StreamObserver<Certificate> responseObserver)

Revoke a Certificate.

Parameters
NameDescription
requestRevokeCertificateRequest
responseObserverio.grpc.stub.StreamObserver<Certificate>

undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Undelete a CertificateAuthority that has been deleted.

Parameters
NameDescription
requestUndeleteCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCaPool(UpdateCaPoolRequest request, StreamObserver<Operation> responseObserver)

public default void updateCaPool(UpdateCaPoolRequest request, StreamObserver<Operation> responseObserver)

Update a CaPool.

Parameters
NameDescription
requestUpdateCaPoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCertificate(UpdateCertificateRequest request, StreamObserver<Certificate> responseObserver)

public default void updateCertificate(UpdateCertificateRequest request, StreamObserver<Certificate> responseObserver)

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

Parameters
NameDescription
requestUpdateCertificateRequest
responseObserverio.grpc.stub.StreamObserver<Certificate>

updateCertificateAuthority(UpdateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

public default void updateCertificateAuthority(UpdateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)

Update a CertificateAuthority.

Parameters
NameDescription
requestUpdateCertificateAuthorityRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCertificateRevocationList(UpdateCertificateRevocationListRequest request, StreamObserver<Operation> responseObserver)

public default void updateCertificateRevocationList(UpdateCertificateRevocationListRequest request, StreamObserver<Operation> responseObserver)

Update a CertificateRevocationList.

Parameters
NameDescription
requestUpdateCertificateRevocationListRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCertificateTemplate(UpdateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

public default void updateCertificateTemplate(UpdateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)

Update a CertificateTemplate.

Parameters
NameDescription
requestUpdateCertificateTemplateRequest
responseObserverio.grpc.stub.StreamObserver<Operation>