public class ClientCertificatesApi extends Object
| Constructor and Description |
|---|
ClientCertificatesApi() |
ClientCertificatesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ClientCertMetadataDTO |
addAPIClientCertificate(String apiId,
File certificate,
String alias,
String tier)
Upload a New Certificate
This operation can be used to upload a new certificate for an endpoint.
|
okhttp3.Call |
addAPIClientCertificateAsync(String apiId,
File certificate,
String alias,
String tier,
ApiCallback<ClientCertMetadataDTO> _callback)
Upload a New Certificate (asynchronously)
This operation can be used to upload a new certificate for an endpoint.
|
okhttp3.Call |
addAPIClientCertificateCall(String apiId,
File certificate,
String alias,
String tier,
ApiCallback _callback)
Build call for addAPIClientCertificate
|
ApiResponse<ClientCertMetadataDTO> |
addAPIClientCertificateWithHttpInfo(String apiId,
File certificate,
String alias,
String tier)
Upload a New Certificate
This operation can be used to upload a new certificate for an endpoint.
|
void |
deleteAPIClientCertificateByAlias(String alias,
String apiId)
Delete a Certificate
This operation can be used to delete an uploaded certificate.
|
okhttp3.Call |
deleteAPIClientCertificateByAliasAsync(String alias,
String apiId,
ApiCallback<Void> _callback)
Delete a Certificate (asynchronously)
This operation can be used to delete an uploaded certificate.
|
okhttp3.Call |
deleteAPIClientCertificateByAliasCall(String alias,
String apiId,
ApiCallback _callback)
Build call for deleteAPIClientCertificateByAlias
|
ApiResponse<Void> |
deleteAPIClientCertificateByAliasWithHttpInfo(String alias,
String apiId)
Delete a Certificate
This operation can be used to delete an uploaded certificate.
|
ApiClient |
getApiClient() |
CertificateInfoDTO |
getAPIClientCertificateByAlias(String alias,
String apiId)
Get the Certificate Information
This operation can be used to get the information about a certificate.
|
okhttp3.Call |
getAPIClientCertificateByAliasAsync(String alias,
String apiId,
ApiCallback<CertificateInfoDTO> _callback)
Get the Certificate Information (asynchronously)
This operation can be used to get the information about a certificate.
|
okhttp3.Call |
getAPIClientCertificateByAliasCall(String alias,
String apiId,
ApiCallback _callback)
Build call for getAPIClientCertificateByAlias
|
ApiResponse<CertificateInfoDTO> |
getAPIClientCertificateByAliasWithHttpInfo(String alias,
String apiId)
Get the Certificate Information
This operation can be used to get the information about a certificate.
|
void |
getAPIClientCertificateContentByAlias(String apiId,
String alias)
Download a Certificate
This operation can be used to download a certificate which matches the given alias.
|
okhttp3.Call |
getAPIClientCertificateContentByAliasAsync(String apiId,
String alias,
ApiCallback<Void> _callback)
Download a Certificate (asynchronously)
This operation can be used to download a certificate which matches the given alias.
|
okhttp3.Call |
getAPIClientCertificateContentByAliasCall(String apiId,
String alias,
ApiCallback _callback)
Build call for getAPIClientCertificateContentByAlias
|
ApiResponse<Void> |
getAPIClientCertificateContentByAliasWithHttpInfo(String apiId,
String alias)
Download a Certificate
This operation can be used to download a certificate which matches the given alias.
|
ClientCertificatesDTO |
getAPIClientCertificates(String apiId,
Integer limit,
Integer offset,
String alias)
Retrieve/ Search Uploaded Client Certificates
This operation can be used to retrieve and search the uploaded client certificates.
|
okhttp3.Call |
getAPIClientCertificatesAsync(String apiId,
Integer limit,
Integer offset,
String alias,
ApiCallback<ClientCertificatesDTO> _callback)
Retrieve/ Search Uploaded Client Certificates (asynchronously)
This operation can be used to retrieve and search the uploaded client certificates.
|
okhttp3.Call |
getAPIClientCertificatesCall(String apiId,
Integer limit,
Integer offset,
String alias,
ApiCallback _callback)
Build call for getAPIClientCertificates
|
ApiResponse<ClientCertificatesDTO> |
getAPIClientCertificatesWithHttpInfo(String apiId,
Integer limit,
Integer offset,
String alias)
Retrieve/ Search Uploaded Client Certificates
This operation can be used to retrieve and search the uploaded client certificates.
|
void |
setApiClient(ApiClient apiClient) |
ClientCertMetadataDTO |
updateAPIClientCertificateByAlias(String alias,
String apiId,
File certificate,
String tier)
Update a Certificate
This operation can be used to update an uploaded certificate.
|
okhttp3.Call |
updateAPIClientCertificateByAliasAsync(String alias,
String apiId,
File certificate,
String tier,
ApiCallback<ClientCertMetadataDTO> _callback)
Update a Certificate (asynchronously)
This operation can be used to update an uploaded certificate.
|
okhttp3.Call |
updateAPIClientCertificateByAliasCall(String alias,
String apiId,
File certificate,
String tier,
ApiCallback _callback)
Build call for updateAPIClientCertificateByAlias
|
ApiResponse<ClientCertMetadataDTO> |
updateAPIClientCertificateByAliasWithHttpInfo(String alias,
String apiId,
File certificate,
String tier)
Update a Certificate
This operation can be used to update an uploaded certificate.
|
public ClientCertificatesApi()
public ClientCertificatesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call addAPIClientCertificateCall(String apiId, File certificate, String alias, String tier, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)certificate - The certificate that needs to be uploaded. (required)alias - Alias for the certificate (required)tier - api tier to which the certificate should be applied. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ClientCertMetadataDTO addAPIClientCertificate(String apiId, File certificate, String alias, String tier) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)certificate - The certificate that needs to be uploaded. (required)alias - Alias for the certificate (required)tier - api tier to which the certificate should be applied. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ClientCertMetadataDTO> addAPIClientCertificateWithHttpInfo(String apiId, File certificate, String alias, String tier) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)certificate - The certificate that needs to be uploaded. (required)alias - Alias for the certificate (required)tier - api tier to which the certificate should be applied. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call addAPIClientCertificateAsync(String apiId, File certificate, String alias, String tier, ApiCallback<ClientCertMetadataDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)certificate - The certificate that needs to be uploaded. (required)alias - Alias for the certificate (required)tier - api tier to which the certificate should be applied. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call deleteAPIClientCertificateByAliasCall(String alias, String apiId, ApiCallback _callback) throws ApiException
alias - The alias of the certificate that should be deleted. (required)apiId - **API ID** consisting of the **UUID** of the API. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void deleteAPIClientCertificateByAlias(String alias, String apiId) throws ApiException
alias - The alias of the certificate that should be deleted. (required)apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteAPIClientCertificateByAliasWithHttpInfo(String alias, String apiId) throws ApiException
alias - The alias of the certificate that should be deleted. (required)apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteAPIClientCertificateByAliasAsync(String alias, String apiId, ApiCallback<Void> _callback) throws ApiException
alias - The alias of the certificate that should be deleted. (required)apiId - **API ID** consisting of the **UUID** of the API. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getAPIClientCertificateByAliasCall(String alias, String apiId, ApiCallback _callback) throws ApiException
alias - (required)apiId - **API ID** consisting of the **UUID** of the API. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic CertificateInfoDTO getAPIClientCertificateByAlias(String alias, String apiId) throws ApiException
alias - (required)apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CertificateInfoDTO> getAPIClientCertificateByAliasWithHttpInfo(String alias, String apiId) throws ApiException
alias - (required)apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIClientCertificateByAliasAsync(String alias, String apiId, ApiCallback<CertificateInfoDTO> _callback) throws ApiException
alias - (required)apiId - **API ID** consisting of the **UUID** of the API. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getAPIClientCertificateContentByAliasCall(String apiId, String alias, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)alias - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void getAPIClientCertificateContentByAlias(String apiId, String alias) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)alias - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> getAPIClientCertificateContentByAliasWithHttpInfo(String apiId, String alias) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)alias - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIClientCertificateContentByAliasAsync(String apiId, String alias, ApiCallback<Void> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)alias - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getAPIClientCertificatesCall(String apiId, Integer limit, Integer offset, String alias, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)alias - Alias for the client certificate (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ClientCertificatesDTO getAPIClientCertificates(String apiId, Integer limit, Integer offset, String alias) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)alias - Alias for the client certificate (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ClientCertificatesDTO> getAPIClientCertificatesWithHttpInfo(String apiId, Integer limit, Integer offset, String alias) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)alias - Alias for the client certificate (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIClientCertificatesAsync(String apiId, Integer limit, Integer offset, String alias, ApiCallback<ClientCertificatesDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)alias - Alias for the client certificate (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call updateAPIClientCertificateByAliasCall(String alias, String apiId, File certificate, String tier, ApiCallback _callback) throws ApiException
alias - Alias for the certificate (required)apiId - **API ID** consisting of the **UUID** of the API. (required)certificate - The certificate that needs to be uploaded. (optional)tier - The tier of the certificate (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ClientCertMetadataDTO updateAPIClientCertificateByAlias(String alias, String apiId, File certificate, String tier) throws ApiException
alias - Alias for the certificate (required)apiId - **API ID** consisting of the **UUID** of the API. (required)certificate - The certificate that needs to be uploaded. (optional)tier - The tier of the certificate (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ClientCertMetadataDTO> updateAPIClientCertificateByAliasWithHttpInfo(String alias, String apiId, File certificate, String tier) throws ApiException
alias - Alias for the certificate (required)apiId - **API ID** consisting of the **UUID** of the API. (required)certificate - The certificate that needs to be uploaded. (optional)tier - The tier of the certificate (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateAPIClientCertificateByAliasAsync(String alias, String apiId, File certificate, String tier, ApiCallback<ClientCertMetadataDTO> _callback) throws ApiException
alias - Alias for the certificate (required)apiId - **API ID** consisting of the **UUID** of the API. (required)certificate - The certificate that needs to be uploaded. (optional)tier - The tier of the certificate (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 WSO2 Inc. All rights reserved.