Class ClientCertificatesApi

java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.ClientCertificatesApi

public class ClientCertificatesApi extends Object
  • Constructor Details

    • ClientCertificatesApi

      public ClientCertificatesApi()
    • ClientCertificatesApi

      public ClientCertificatesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • addAPIClientCertificateCall

      public okhttp3.Call addAPIClientCertificateCall(String apiId, File certificate, String alias, String tier, ApiCallback _callback) throws ApiException
      Build call for addAPIClientCertificate
      Parameters:
      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 progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • addAPIClientCertificate

      public ClientCertMetadataDTO addAPIClientCertificate(String apiId, File certificate, String alias, String tier) throws ApiException
      Upload a New Certificate This operation can be used to upload a new certificate for an endpoint.
      Parameters:
      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)
      Returns:
      ClientCertMetadataDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • addAPIClientCertificateWithHttpInfo

      public ApiResponse<ClientCertMetadataDTO> addAPIClientCertificateWithHttpInfo(String apiId, File certificate, String alias, String tier) throws ApiException
      Upload a New Certificate This operation can be used to upload a new certificate for an endpoint.
      Parameters:
      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)
      Returns:
      ApiResponse<ClientCertMetadataDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • addAPIClientCertificateAsync

      public okhttp3.Call addAPIClientCertificateAsync(String apiId, File certificate, String alias, String tier, ApiCallback<ClientCertMetadataDTO> _callback) throws ApiException
      Upload a New Certificate (asynchronously) This operation can be used to upload a new certificate for an endpoint.
      Parameters:
      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 finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • addAPIClientCertificateOfGivenKeyTypeCall

      public okhttp3.Call addAPIClientCertificateOfGivenKeyTypeCall(String keyType, String apiId, File certificate, String alias, String tier, ApiCallback _callback) throws ApiException
      Build call for addAPIClientCertificateOfGivenKeyType
      Parameters:
      keyType - Key type for the certificate (required)
      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 progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • addAPIClientCertificateOfGivenKeyType

      public ClientCertMetadataDTO addAPIClientCertificateOfGivenKeyType(String keyType, String apiId, File certificate, String alias, String tier) throws ApiException
      Upload a New Certificate of the given key type This operation can be used to upload a new certificate for an endpoint of the given type.
      Parameters:
      keyType - Key type for the certificate (required)
      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)
      Returns:
      ClientCertMetadataDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • addAPIClientCertificateOfGivenKeyTypeWithHttpInfo

      public ApiResponse<ClientCertMetadataDTO> addAPIClientCertificateOfGivenKeyTypeWithHttpInfo(String keyType, String apiId, File certificate, String alias, String tier) throws ApiException
      Upload a New Certificate of the given key type This operation can be used to upload a new certificate for an endpoint of the given type.
      Parameters:
      keyType - Key type for the certificate (required)
      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)
      Returns:
      ApiResponse<ClientCertMetadataDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • addAPIClientCertificateOfGivenKeyTypeAsync

      public okhttp3.Call addAPIClientCertificateOfGivenKeyTypeAsync(String keyType, String apiId, File certificate, String alias, String tier, ApiCallback<ClientCertMetadataDTO> _callback) throws ApiException
      Upload a New Certificate of the given key type (asynchronously) This operation can be used to upload a new certificate for an endpoint of the given type.
      Parameters:
      keyType - Key type for the certificate (required)
      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 finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteAPIClientCertificateByAliasCall

      public okhttp3.Call deleteAPIClientCertificateByAliasCall(String alias, String apiId, ApiCallback _callback) throws ApiException
      Build call for deleteAPIClientCertificateByAlias
      Parameters:
      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 progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • deleteAPIClientCertificateByAlias

      public void deleteAPIClientCertificateByAlias(String alias, String apiId) throws ApiException
      Delete a Certificate This operation can be used to delete an uploaded certificate.
      Parameters:
      alias - The alias of the certificate that should be deleted. (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteAPIClientCertificateByAliasWithHttpInfo

      public ApiResponse<Void> deleteAPIClientCertificateByAliasWithHttpInfo(String alias, String apiId) throws ApiException
      Delete a Certificate This operation can be used to delete an uploaded certificate.
      Parameters:
      alias - The alias of the certificate that should be deleted. (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteAPIClientCertificateByAliasAsync

      public okhttp3.Call deleteAPIClientCertificateByAliasAsync(String alias, String apiId, ApiCallback<Void> _callback) throws ApiException
      Delete a Certificate (asynchronously) This operation can be used to delete an uploaded certificate.
      Parameters:
      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 finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteAPIClientCertificateByKeyTypeAndAliasCall

      public okhttp3.Call deleteAPIClientCertificateByKeyTypeAndAliasCall(String keyType, String alias, String apiId, ApiCallback _callback) throws ApiException
      Build call for deleteAPIClientCertificateByKeyTypeAndAlias
      Parameters:
      keyType - Key type for the certificate (required)
      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 progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • deleteAPIClientCertificateByKeyTypeAndAlias

      public void deleteAPIClientCertificateByKeyTypeAndAlias(String keyType, String alias, String apiId) throws ApiException
      Delete a Certificate of a Given Key Type This operation can be used to delete an uploaded certificate of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      alias - The alias of the certificate that should be deleted. (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteAPIClientCertificateByKeyTypeAndAliasWithHttpInfo

      public ApiResponse<Void> deleteAPIClientCertificateByKeyTypeAndAliasWithHttpInfo(String keyType, String alias, String apiId) throws ApiException
      Delete a Certificate of a Given Key Type This operation can be used to delete an uploaded certificate of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      alias - The alias of the certificate that should be deleted. (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteAPIClientCertificateByKeyTypeAndAliasAsync

      public okhttp3.Call deleteAPIClientCertificateByKeyTypeAndAliasAsync(String keyType, String alias, String apiId, ApiCallback<Void> _callback) throws ApiException
      Delete a Certificate of a Given Key Type (asynchronously) This operation can be used to delete an uploaded certificate of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      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 finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getAPIClientCertificateByAliasCall

      public okhttp3.Call getAPIClientCertificateByAliasCall(String alias, String apiId, ApiCallback _callback) throws ApiException
      Build call for getAPIClientCertificateByAlias
      Parameters:
      alias - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAPIClientCertificateByAlias

      public CertificateInfoDTO getAPIClientCertificateByAlias(String alias, String apiId) throws ApiException
      Get the Certificate Information This operation can be used to get the information about a certificate.
      Parameters:
      alias - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Returns:
      CertificateInfoDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificateByAliasWithHttpInfo

      public ApiResponse<CertificateInfoDTO> getAPIClientCertificateByAliasWithHttpInfo(String alias, String apiId) throws ApiException
      Get the Certificate Information This operation can be used to get the information about a certificate.
      Parameters:
      alias - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Returns:
      ApiResponse<CertificateInfoDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificateByAliasAsync

      public okhttp3.Call getAPIClientCertificateByAliasAsync(String alias, String apiId, ApiCallback<CertificateInfoDTO> _callback) throws ApiException
      Get the Certificate Information (asynchronously) This operation can be used to get the information about a certificate.
      Parameters:
      alias - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getAPIClientCertificateByKeyTypeAndAliasCall

      public okhttp3.Call getAPIClientCertificateByKeyTypeAndAliasCall(String keyType, String alias, String apiId, ApiCallback _callback) throws ApiException
      Build call for getAPIClientCertificateByKeyTypeAndAlias
      Parameters:
      keyType - Key type for the certificate (required)
      alias - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAPIClientCertificateByKeyTypeAndAlias

      public CertificateInfoDTO getAPIClientCertificateByKeyTypeAndAlias(String keyType, String alias, String apiId) throws ApiException
      Get the Certificate Information of a Given Key Type This operation can be used to get the information about a certificate of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      alias - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Returns:
      CertificateInfoDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificateByKeyTypeAndAliasWithHttpInfo

      public ApiResponse<CertificateInfoDTO> getAPIClientCertificateByKeyTypeAndAliasWithHttpInfo(String keyType, String alias, String apiId) throws ApiException
      Get the Certificate Information of a Given Key Type This operation can be used to get the information about a certificate of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      alias - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      Returns:
      ApiResponse<CertificateInfoDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificateByKeyTypeAndAliasAsync

      public okhttp3.Call getAPIClientCertificateByKeyTypeAndAliasAsync(String keyType, String alias, String apiId, ApiCallback<CertificateInfoDTO> _callback) throws ApiException
      Get the Certificate Information of a Given Key Type (asynchronously) This operation can be used to get the information about a certificate of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      alias - (required)
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getAPIClientCertificateContentByAliasCall

      public okhttp3.Call getAPIClientCertificateContentByAliasCall(String apiId, String alias, ApiCallback _callback) throws ApiException
      Build call for getAPIClientCertificateContentByAlias
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      alias - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAPIClientCertificateContentByAlias

      public void getAPIClientCertificateContentByAlias(String apiId, String alias) throws ApiException
      Download a Certificate This operation can be used to download a certificate which matches the given alias.
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      alias - (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificateContentByAliasWithHttpInfo

      public ApiResponse<Void> getAPIClientCertificateContentByAliasWithHttpInfo(String apiId, String alias) throws ApiException
      Download a Certificate This operation can be used to download a certificate which matches the given alias.
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      alias - (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificateContentByAliasAsync

      public okhttp3.Call getAPIClientCertificateContentByAliasAsync(String apiId, String alias, ApiCallback<Void> _callback) throws ApiException
      Download a Certificate (asynchronously) This operation can be used to download a certificate which matches the given alias.
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      alias - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getAPIClientCertificateContentByKeyTypeAndAliasCall

      public okhttp3.Call getAPIClientCertificateContentByKeyTypeAndAliasCall(String apiId, String alias, String keyType, ApiCallback _callback) throws ApiException
      Build call for getAPIClientCertificateContentByKeyTypeAndAlias
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      alias - (required)
      keyType - The key type of the certificate that should be deleted. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAPIClientCertificateContentByKeyTypeAndAlias

      public void getAPIClientCertificateContentByKeyTypeAndAlias(String apiId, String alias, String keyType) throws ApiException
      Download a Certificate of Given Key Type This operation can be used to download a certificate which matches the given alias and key type.
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      alias - (required)
      keyType - The key type of the certificate that should be deleted. (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificateContentByKeyTypeAndAliasWithHttpInfo

      public ApiResponse<Void> getAPIClientCertificateContentByKeyTypeAndAliasWithHttpInfo(String apiId, String alias, String keyType) throws ApiException
      Download a Certificate of Given Key Type This operation can be used to download a certificate which matches the given alias and key type.
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      alias - (required)
      keyType - The key type of the certificate that should be deleted. (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificateContentByKeyTypeAndAliasAsync

      public okhttp3.Call getAPIClientCertificateContentByKeyTypeAndAliasAsync(String apiId, String alias, String keyType, ApiCallback<Void> _callback) throws ApiException
      Download a Certificate of Given Key Type (asynchronously) This operation can be used to download a certificate which matches the given alias and key type.
      Parameters:
      apiId - **API ID** consisting of the **UUID** of the API. (required)
      alias - (required)
      keyType - The key type of the certificate that should be deleted. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getAPIClientCertificatesCall

      public okhttp3.Call getAPIClientCertificatesCall(String apiId, Integer limit, Integer offset, String alias, ApiCallback _callback) throws ApiException
      Build call for getAPIClientCertificates
      Parameters:
      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 progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAPIClientCertificates

      public ClientCertificatesDTO getAPIClientCertificates(String apiId, Integer limit, Integer offset, String alias) throws ApiException
      Retrieve/ Search Uploaded Client Certificates This operation can be used to retrieve and search the uploaded client certificates.
      Parameters:
      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)
      Returns:
      ClientCertificatesDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificatesWithHttpInfo

      public ApiResponse<ClientCertificatesDTO> getAPIClientCertificatesWithHttpInfo(String apiId, Integer limit, Integer offset, String alias) throws ApiException
      Retrieve/ Search Uploaded Client Certificates This operation can be used to retrieve and search the uploaded client certificates.
      Parameters:
      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)
      Returns:
      ApiResponse<ClientCertificatesDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificatesAsync

      public okhttp3.Call getAPIClientCertificatesAsync(String apiId, Integer limit, Integer offset, String alias, ApiCallback<ClientCertificatesDTO> _callback) throws ApiException
      Retrieve/ Search Uploaded Client Certificates (asynchronously) This operation can be used to retrieve and search the uploaded client certificates.
      Parameters:
      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 finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getAPIClientCertificatesByKeyTypeCall

      public okhttp3.Call getAPIClientCertificatesByKeyTypeCall(String keyType, String apiId, Integer limit, Integer offset, String alias, ApiCallback _callback) throws ApiException
      Build call for getAPIClientCertificatesByKeyType
      Parameters:
      keyType - Key type for the certificate (required)
      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 progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAPIClientCertificatesByKeyType

      public ClientCertificatesDTO getAPIClientCertificatesByKeyType(String keyType, String apiId, Integer limit, Integer offset, String alias) throws ApiException
      Retrieve/ Search Uploaded Client Certificates of a given key type This operation can be used to retrieve and search the uploaded client certificates of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      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)
      Returns:
      ClientCertificatesDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificatesByKeyTypeWithHttpInfo

      public ApiResponse<ClientCertificatesDTO> getAPIClientCertificatesByKeyTypeWithHttpInfo(String keyType, String apiId, Integer limit, Integer offset, String alias) throws ApiException
      Retrieve/ Search Uploaded Client Certificates of a given key type This operation can be used to retrieve and search the uploaded client certificates of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      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)
      Returns:
      ApiResponse<ClientCertificatesDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAPIClientCertificatesByKeyTypeAsync

      public okhttp3.Call getAPIClientCertificatesByKeyTypeAsync(String keyType, String apiId, Integer limit, Integer offset, String alias, ApiCallback<ClientCertificatesDTO> _callback) throws ApiException
      Retrieve/ Search Uploaded Client Certificates of a given key type (asynchronously) This operation can be used to retrieve and search the uploaded client certificates of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      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 finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • updateAPIClientCertificateByAliasCall

      public okhttp3.Call updateAPIClientCertificateByAliasCall(String alias, String apiId, File certificate, String tier, ApiCallback _callback) throws ApiException
      Build call for updateAPIClientCertificateByAlias
      Parameters:
      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 progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • updateAPIClientCertificateByAlias

      public ClientCertMetadataDTO updateAPIClientCertificateByAlias(String alias, String apiId, File certificate, String tier) throws ApiException
      Update a Certificate This operation can be used to update an uploaded certificate.
      Parameters:
      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)
      Returns:
      ClientCertMetadataDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateAPIClientCertificateByAliasWithHttpInfo

      public ApiResponse<ClientCertMetadataDTO> updateAPIClientCertificateByAliasWithHttpInfo(String alias, String apiId, File certificate, String tier) throws ApiException
      Update a Certificate This operation can be used to update an uploaded certificate.
      Parameters:
      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)
      Returns:
      ApiResponse<ClientCertMetadataDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateAPIClientCertificateByAliasAsync

      public okhttp3.Call updateAPIClientCertificateByAliasAsync(String alias, String apiId, File certificate, String tier, ApiCallback<ClientCertMetadataDTO> _callback) throws ApiException
      Update a Certificate (asynchronously) This operation can be used to update an uploaded certificate.
      Parameters:
      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 finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • updateAPIClientCertificateByKeyTypeAndAliasCall

      public okhttp3.Call updateAPIClientCertificateByKeyTypeAndAliasCall(String keyType, String alias, String apiId, File certificate, String tier, ApiCallback _callback) throws ApiException
      Build call for updateAPIClientCertificateByKeyTypeAndAlias
      Parameters:
      keyType - Key type for the certificate (required)
      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 progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • updateAPIClientCertificateByKeyTypeAndAlias

      public ClientCertMetadataDTO updateAPIClientCertificateByKeyTypeAndAlias(String keyType, String alias, String apiId, File certificate, String tier) throws ApiException
      Update a Certificate of a Given Key Type This operation can be used to update an uploaded certificate of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      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)
      Returns:
      ClientCertMetadataDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateAPIClientCertificateByKeyTypeAndAliasWithHttpInfo

      public ApiResponse<ClientCertMetadataDTO> updateAPIClientCertificateByKeyTypeAndAliasWithHttpInfo(String keyType, String alias, String apiId, File certificate, String tier) throws ApiException
      Update a Certificate of a Given Key Type This operation can be used to update an uploaded certificate of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      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)
      Returns:
      ApiResponse<ClientCertMetadataDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateAPIClientCertificateByKeyTypeAndAliasAsync

      public okhttp3.Call updateAPIClientCertificateByKeyTypeAndAliasAsync(String keyType, String alias, String apiId, File certificate, String tier, ApiCallback<ClientCertMetadataDTO> _callback) throws ApiException
      Update a Certificate of a Given Key Type (asynchronously) This operation can be used to update an uploaded certificate of a given key type.
      Parameters:
      keyType - Key type for the certificate (required)
      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 finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object