public static final class CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub extends AbstractAsyncStub<CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub>
Certificate Authority
Service
manages private certificate authorities and issued certificates.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
activateCertificateAuthority(ActivateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
public 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
build(Channel channel, CallOptions callOptions)
protected CertificateAuthorityServiceGrpc.CertificateAuthorityServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createCaPool(CreateCaPoolRequest request, StreamObserver<Operation> responseObserver)
public void createCaPool(CreateCaPoolRequest request, StreamObserver<Operation> responseObserver)
Parameters
createCertificate(CreateCertificateRequest request, StreamObserver<Certificate> responseObserver)
public void createCertificate(CreateCertificateRequest request, StreamObserver<Certificate> responseObserver)
Create a new Certificate
in a given Project, Location from a particular
CaPool.
Parameters
createCertificateAuthority(CreateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
public void createCertificateAuthority(CreateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
Create a new
CertificateAuthority
in a given Project and Location.
Parameters
createCertificateTemplate(CreateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)
public void createCertificateTemplate(CreateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)
Create a new
CertificateTemplate
in a given Project and Location.
Parameters
deleteCaPool(DeleteCaPoolRequest request, StreamObserver<Operation> responseObserver)
public void deleteCaPool(DeleteCaPoolRequest request, StreamObserver<Operation> responseObserver)
Parameters
deleteCertificateAuthority(DeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
public void deleteCertificateAuthority(DeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
Delete a
CertificateAuthority.
Parameters
deleteCertificateTemplate(DeleteCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)
public void deleteCertificateTemplate(DeleteCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)
DeleteCertificateTemplate deletes a
CertificateTemplate.
Parameters
disableCertificateAuthority(DisableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
public void disableCertificateAuthority(DisableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
Disable a
CertificateAuthority.
Parameters
enableCertificateAuthority(EnableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
public void enableCertificateAuthority(EnableCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
Enable a
CertificateAuthority.
Parameters
fetchCaCerts(FetchCaCertsRequest request, StreamObserver<FetchCaCertsResponse> responseObserver)
public 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
fetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request, StreamObserver<FetchCertificateAuthorityCsrResponse> responseObserver)
public 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
getCaPool(GetCaPoolRequest request, StreamObserver<CaPool> responseObserver)
public void getCaPool(GetCaPoolRequest request, StreamObserver<CaPool> responseObserver)
Parameters
getCertificate(GetCertificateRequest request, StreamObserver<Certificate> responseObserver)
public void getCertificate(GetCertificateRequest request, StreamObserver<Certificate> responseObserver)
Parameters
getCertificateAuthority(GetCertificateAuthorityRequest request, StreamObserver<CertificateAuthority> responseObserver)
public void getCertificateAuthority(GetCertificateAuthorityRequest request, StreamObserver<CertificateAuthority> responseObserver)
Returns a
CertificateAuthority.
Parameters
getCertificateRevocationList(GetCertificateRevocationListRequest request, StreamObserver<CertificateRevocationList> responseObserver)
public void getCertificateRevocationList(GetCertificateRevocationListRequest request, StreamObserver<CertificateRevocationList> responseObserver)
Returns a
CertificateRevocationList.
Parameters
getCertificateTemplate(GetCertificateTemplateRequest request, StreamObserver<CertificateTemplate> responseObserver)
public void getCertificateTemplate(GetCertificateTemplateRequest request, StreamObserver<CertificateTemplate> responseObserver)
Returns a
CertificateTemplate.
Parameters
listCaPools(ListCaPoolsRequest request, StreamObserver<ListCaPoolsResponse> responseObserver)
public void listCaPools(ListCaPoolsRequest request, StreamObserver<ListCaPoolsResponse> responseObserver)
Parameters
listCertificateAuthorities(ListCertificateAuthoritiesRequest request, StreamObserver<ListCertificateAuthoritiesResponse> responseObserver)
public void listCertificateAuthorities(ListCertificateAuthoritiesRequest request, StreamObserver<ListCertificateAuthoritiesResponse> responseObserver)
Lists
CertificateAuthorities.
Parameters
listCertificateRevocationLists(ListCertificateRevocationListsRequest request, StreamObserver<ListCertificateRevocationListsResponse> responseObserver)
public void listCertificateRevocationLists(ListCertificateRevocationListsRequest request, StreamObserver<ListCertificateRevocationListsResponse> responseObserver)
Lists
CertificateRevocationLists.
Parameters
listCertificateTemplates(ListCertificateTemplatesRequest request, StreamObserver<ListCertificateTemplatesResponse> responseObserver)
public void listCertificateTemplates(ListCertificateTemplatesRequest request, StreamObserver<ListCertificateTemplatesResponse> responseObserver)
Lists
CertificateTemplates.
Parameters
listCertificates(ListCertificatesRequest request, StreamObserver<ListCertificatesResponse> responseObserver)
public void listCertificates(ListCertificatesRequest request, StreamObserver<ListCertificatesResponse> responseObserver)
Parameters
revokeCertificate(RevokeCertificateRequest request, StreamObserver<Certificate> responseObserver)
public void revokeCertificate(RevokeCertificateRequest request, StreamObserver<Certificate> responseObserver)
Parameters
undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
public void undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
Undelete a
CertificateAuthority
that has been deleted.
Parameters
updateCaPool(UpdateCaPoolRequest request, StreamObserver<Operation> responseObserver)
public void updateCaPool(UpdateCaPoolRequest request, StreamObserver<Operation> responseObserver)
Parameters
updateCertificate(UpdateCertificateRequest request, StreamObserver<Certificate> responseObserver)
public void updateCertificate(UpdateCertificateRequest request, StreamObserver<Certificate> responseObserver)
Update a Certificate.
Currently, the only field you can update is the
labels field.
Parameters
updateCertificateAuthority(UpdateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
public void updateCertificateAuthority(UpdateCertificateAuthorityRequest request, StreamObserver<Operation> responseObserver)
Update a
CertificateAuthority.
Parameters
updateCertificateRevocationList(UpdateCertificateRevocationListRequest request, StreamObserver<Operation> responseObserver)
public void updateCertificateRevocationList(UpdateCertificateRevocationListRequest request, StreamObserver<Operation> responseObserver)
Update a
CertificateRevocationList.
Parameters
updateCertificateTemplate(UpdateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)
public void updateCertificateTemplate(UpdateCertificateTemplateRequest request, StreamObserver<Operation> responseObserver)
Update a
CertificateTemplate.
Parameters