|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.iothisk.AbstractIotHiskBceClient
com.baidubce.services.iothisk.IotPkiManageClient
public class IotPkiManageClient
Provides the client for accessing the iot pki service.
| Field Summary |
|---|
| Fields inherited from class com.baidubce.services.iothisk.AbstractIotHiskBceClient |
|---|
HANDLERS |
| Fields inherited from class com.baidubce.AbstractBceClient |
|---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
| Constructor Summary | |
|---|---|
IotPkiManageClient(BceClientConfiguration config)
Constructs a new pki client using the client configuration to access hisk pki. |
|
| Methods inherited from class com.baidubce.services.iothisk.AbstractIotHiskBceClient |
|---|
createRequest, fillInHeaderAndBody, toJson |
| Methods inherited from class com.baidubce.AbstractBceClient |
|---|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IotPkiManageClient(BceClientConfiguration config)
config - The bcc client configuration options controlling how this client
connects to bcc (e.g. proxy settings, retry counts, etc).| Method Detail |
|---|
public CreateRootCACertResponse createRootCACert(CreateRootCACertRequest request,
String clientToken)
request - The request object containing all options for creating a root cert.clientToken - A random string to make request idempotent.
public void deleteRootCACert(String certId)
certId - The cert ID of the root cert which will be deleted.public GetRootCACertResponse getRootCACert(String certId)
certId - The cert ID of the root cert which will be got.
public CreateCertGroupResponse createCertGroup(CreateCertGroupRequest request,
String clientToken)
request - The request object containing all options for creating a cert group.clientToken - A random string to make request idempotent.
public void deleteCertGroup(String groupId)
groupId - The group ID of the cert group which will be deleted.public GetCertGroupResponse getCertGroup(String groupId)
groupId - The group ID of the cert group which will be got.
public CreateSubCertResponse createServerCert(CreateSubCertRequest request,
String clientToken)
request - The request object containing all options for creating a server cert.clientToken - A random string to make request idempotent.
public void deleteServerCert(String serverCertId)
serverCertId - The server cert ID of the cert which will be deleted.public GetSubCertResponse getServerCert(String serverCertId)
serverCertId - The server cert ID of the cert which will be got.
public QueryServerCertResponse queryServerCerts(String rootCACertId,
String groupId)
rootCACertId - The root cert ID of server certs which will be queried.groupId - The cert group ID of server certs which will be queried.
public RenewSubCertResponse renewServerCert(RenewSubCertRequest request,
String serverCertId,
String clientToken)
request - The request object containing all options for renewing a server cert.serverCertId - The server cert ID of the cert which will be renewed.clientToken - A random string to make request idempotent.
public CreateSubCertResponse createClientCert(CreateSubCertRequest request,
String clientToken)
request - The request object containing all options for creating a client cert.clientToken - A random string to make request idempotent.
public void deleteClientCert(String clientCertId)
clientCertId - The client cert ID of the cert which will be deleted.public GetSubCertResponse getClientCert(String clientCertId)
clientCertId - The client cert ID of the cert which will be got.
public QueryClientCertResponse queryClientCerts(String rootCACertId,
String groupId)
rootCACertId - The root cert ID of client certs which will be queried.groupId - The cert group ID of client certs which will be queried.
public RenewSubCertResponse renewClientCert(RenewSubCertRequest request,
String clientCertId,
String clientToken)
request - The request object containing all options for renewing a client cert.clientCertId - The client cert ID of the cert which will be renewed.clientToken - A random string to make request idempotent.
public BatchCreateClientCertResponse batchCreateClientCert(BatchCreateClientCertRequest request,
String clientToken)
request - The request object containing all options for creating client certs.clientToken - A random string to make request idempotent.
public GetBatchCreateStatusResponse getBatchCreateStatus(String jobId)
jobId - The create batch ID.
public String downloadClientCert(String clientCertId)
clientCertId - The client cert ID which will be downloaded.
public String downloadServerCert(String serverCertId)
serverCertId - The server cert ID which will be downloaded.
public String downloadRootCert(String rootCertId)
rootCertId - The root cert ID which will be downloaded.
public Map<String,String> downloadBatchCreateCerts(String jobId)
jobId - The create batch ID which will be downloaded.
public GetCertStatusResponse getCertStatus(GetCertStatusRequest request)
request - The request object containing all options for creating client certs.
public DownloadCrlResponse downloadCrl(String issuerDN)
issuerDN - The root cert DN, can be found in root cert.
public GetOcspResponse getOcspResponse(byte[] ocspRequest)
ocspRequest - Standard ocsp request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||