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
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
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.
build(Channel channel, CallOptions callOptions)
protected CertificateAuthorityServiceGrpc.CertificateAuthorityServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createCaPool(CreateCaPoolRequest request)
public Operation createCaPool(CreateCaPoolRequest request)
createCertificate(CreateCertificateRequest request)
public Certificate createCertificate(CreateCertificateRequest request)
Create a new Certificate
in a given Project, Location from a particular
CaPool.
createCertificateAuthority(CreateCertificateAuthorityRequest request)
public Operation createCertificateAuthority(CreateCertificateAuthorityRequest request)
Create a new
CertificateAuthority
in a given Project and Location.
createCertificateTemplate(CreateCertificateTemplateRequest request)
public Operation createCertificateTemplate(CreateCertificateTemplateRequest request)
Create a new
CertificateTemplate
in a given Project and Location.
deleteCaPool(DeleteCaPoolRequest request)
public Operation deleteCaPool(DeleteCaPoolRequest request)
deleteCertificateAuthority(DeleteCertificateAuthorityRequest request)
public Operation deleteCertificateAuthority(DeleteCertificateAuthorityRequest request)
Delete a
CertificateAuthority.
deleteCertificateTemplate(DeleteCertificateTemplateRequest request)
public Operation deleteCertificateTemplate(DeleteCertificateTemplateRequest request)
DeleteCertificateTemplate deletes a
CertificateTemplate.
disableCertificateAuthority(DisableCertificateAuthorityRequest request)
public Operation disableCertificateAuthority(DisableCertificateAuthorityRequest request)
Disable a
CertificateAuthority.
enableCertificateAuthority(EnableCertificateAuthorityRequest request)
public Operation enableCertificateAuthority(EnableCertificateAuthorityRequest request)
Enable a
CertificateAuthority.
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.
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.
getCaPool(GetCaPoolRequest request)
public CaPool getCaPool(GetCaPoolRequest request)
Returns |
Type |
Description |
CaPool |
|
getCertificate(GetCertificateRequest request)
public Certificate getCertificate(GetCertificateRequest request)
getCertificateAuthority(GetCertificateAuthorityRequest request)
public CertificateAuthority getCertificateAuthority(GetCertificateAuthorityRequest request)
Returns a
CertificateAuthority.
getCertificateRevocationList(GetCertificateRevocationListRequest request)
public CertificateRevocationList getCertificateRevocationList(GetCertificateRevocationListRequest request)
Returns a
CertificateRevocationList.
getCertificateTemplate(GetCertificateTemplateRequest request)
public CertificateTemplate getCertificateTemplate(GetCertificateTemplateRequest request)
Returns a
CertificateTemplate.
listCaPools(ListCaPoolsRequest request)
public ListCaPoolsResponse listCaPools(ListCaPoolsRequest request)
listCertificateAuthorities(ListCertificateAuthoritiesRequest request)
public ListCertificateAuthoritiesResponse listCertificateAuthorities(ListCertificateAuthoritiesRequest request)
Lists
CertificateAuthorities.
listCertificateRevocationLists(ListCertificateRevocationListsRequest request)
public ListCertificateRevocationListsResponse listCertificateRevocationLists(ListCertificateRevocationListsRequest request)
Lists
CertificateRevocationLists.
listCertificateTemplates(ListCertificateTemplatesRequest request)
public ListCertificateTemplatesResponse listCertificateTemplates(ListCertificateTemplatesRequest request)
Lists
CertificateTemplates.
listCertificates(ListCertificatesRequest request)
public ListCertificatesResponse listCertificates(ListCertificatesRequest request)
revokeCertificate(RevokeCertificateRequest request)
public Certificate revokeCertificate(RevokeCertificateRequest request)
undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request)
public Operation undeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request)
Undelete a
CertificateAuthority
that has been deleted.
updateCaPool(UpdateCaPoolRequest request)
public Operation updateCaPool(UpdateCaPoolRequest request)
updateCertificate(UpdateCertificateRequest request)
public Certificate updateCertificate(UpdateCertificateRequest request)
Update a Certificate.
Currently, the only field you can update is the
labels field.
updateCertificateAuthority(UpdateCertificateAuthorityRequest request)
public Operation updateCertificateAuthority(UpdateCertificateAuthorityRequest request)
Update a
CertificateAuthority.
updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)
public Operation updateCertificateRevocationList(UpdateCertificateRevocationListRequest request)
Update a
CertificateRevocationList.
updateCertificateTemplate(UpdateCertificateTemplateRequest request)
public Operation updateCertificateTemplate(UpdateCertificateTemplateRequest request)
Update a
CertificateTemplate.