public class CryptoConfigApi
extends java.lang.Object
| Constructor and Description |
|---|
CryptoConfigApi() |
CryptoConfigApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExistingUseDomain(java.lang.String cryptoConfigId,
java.lang.String useDomainId)
Add an existing use domain to another crypto config.
|
com.squareup.okhttp.Call |
addExistingUseDomainAsync(java.lang.String cryptoConfigId,
java.lang.String useDomainId,
ApiCallback<java.lang.Void> callback)
Add an existing use domain to another crypto config.
|
com.squareup.okhttp.Call |
addExistingUseDomainCall(java.lang.String cryptoConfigId,
java.lang.String useDomainId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addExistingUseDomain
|
ApiResponse<java.lang.Void> |
addExistingUseDomainWithHttpInfo(java.lang.String cryptoConfigId,
java.lang.String useDomainId)
Add an existing use domain to another crypto config.
|
SymmetricKeyUseDomain |
addUseDomain(java.lang.String cryptoConfigId,
SymmetricKeyUseDomain newUseDomain)
Add a new active use domain and attached it to the crypto config.
|
com.squareup.okhttp.Call |
addUseDomainAsync(java.lang.String cryptoConfigId,
SymmetricKeyUseDomain newUseDomain,
ApiCallback<SymmetricKeyUseDomain> callback)
Add a new active use domain and attached it to the crypto config.
|
com.squareup.okhttp.Call |
addUseDomainCall(java.lang.String cryptoConfigId,
SymmetricKeyUseDomain newUseDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addUseDomain
|
ApiResponse<SymmetricKeyUseDomain> |
addUseDomainWithHttpInfo(java.lang.String cryptoConfigId,
SymmetricKeyUseDomain newUseDomain)
Add a new active use domain and attached it to the crypto config.
|
ApiClient |
getApiClient() |
CryptoConfig |
getCryptoConfig(java.lang.String cryptoConfigId)
Get the crypto configurations
|
com.squareup.okhttp.Call |
getCryptoConfigAsync(java.lang.String cryptoConfigId,
ApiCallback<CryptoConfig> callback)
Get the crypto configurations (asynchronously)
|
com.squareup.okhttp.Call |
getCryptoConfigCall(java.lang.String cryptoConfigId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getCryptoConfig
|
ApiResponse<CryptoConfig> |
getCryptoConfigWithHttpInfo(java.lang.String cryptoConfigId)
Get the crypto configurations
|
void |
rapidRotationUseDomain(java.lang.String useDomainId,
java.lang.String optionalNextKeyDerivationServiceId)
Rapid expiration of existing use doamin and immediately replacment with an identical use domain containing fresh keys
|
com.squareup.okhttp.Call |
rapidRotationUseDomainAsync(java.lang.String useDomainId,
java.lang.String optionalNextKeyDerivationServiceId,
ApiCallback<java.lang.Void> callback)
Rapid expiration of existing use doamin and immediately replacment with an identical use domain containing fresh keys (asynchronously)
|
com.squareup.okhttp.Call |
rapidRotationUseDomainCall(java.lang.String useDomainId,
java.lang.String optionalNextKeyDerivationServiceId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rapidRotationUseDomain
|
ApiResponse<java.lang.Void> |
rapidRotationUseDomainWithHttpInfo(java.lang.String useDomainId,
java.lang.String optionalNextKeyDerivationServiceId)
Rapid expiration of existing use doamin and immediately replacment with an identical use domain containing fresh keys
|
void |
removeUseDomain(java.lang.String useDomainId)
Delete a fully expired use domain
|
com.squareup.okhttp.Call |
removeUseDomainAsync(java.lang.String useDomainId,
ApiCallback<java.lang.Void> callback)
Delete a fully expired use domain (asynchronously)
|
com.squareup.okhttp.Call |
removeUseDomainCall(java.lang.String useDomainId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for removeUseDomain
|
ApiResponse<java.lang.Void> |
removeUseDomainWithHttpInfo(java.lang.String useDomainId)
Delete a fully expired use domain
|
void |
setApiClient(ApiClient apiClient) |
CryptoConfig |
updateCryptoConfig(java.lang.String cryptoConfigId,
CryptoConfig updatedCryptoConfig)
Update the crypto configuration, ONLY the clientKeyType clientKeyBitlength, and clientKeyTTL fields.
|
com.squareup.okhttp.Call |
updateCryptoConfigAsync(java.lang.String cryptoConfigId,
CryptoConfig updatedCryptoConfig,
ApiCallback<CryptoConfig> callback)
Update the crypto configuration, ONLY the clientKeyType clientKeyBitlength, and clientKeyTTL fields.
|
com.squareup.okhttp.Call |
updateCryptoConfigCall(java.lang.String cryptoConfigId,
CryptoConfig updatedCryptoConfig,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateCryptoConfig
|
void |
updateCryptoConfigFallbackToCloud(java.lang.String useDomainId,
java.lang.Boolean fallbackToCloud)
Update an existing crypto config's asymmetricKeyTTL
|
com.squareup.okhttp.Call |
updateCryptoConfigFallbackToCloudAsync(java.lang.String useDomainId,
java.lang.Boolean fallbackToCloud,
ApiCallback<java.lang.Void> callback)
Update an existing crypto config's asymmetricKeyTTL (asynchronously)
|
com.squareup.okhttp.Call |
updateCryptoConfigFallbackToCloudCall(java.lang.String useDomainId,
java.lang.Boolean fallbackToCloud,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateCryptoConfigFallbackToCloud
|
ApiResponse<java.lang.Void> |
updateCryptoConfigFallbackToCloudWithHttpInfo(java.lang.String useDomainId,
java.lang.Boolean fallbackToCloud)
Update an existing crypto config's asymmetricKeyTTL
|
void |
updateCryptoConfigSelectorScheme(java.lang.String cryptoConfigId,
java.lang.String newSelectorScheme)
Update an existing crypto config's domainSelectorScheme
|
com.squareup.okhttp.Call |
updateCryptoConfigSelectorSchemeAsync(java.lang.String cryptoConfigId,
java.lang.String newSelectorScheme,
ApiCallback<java.lang.Void> callback)
Update an existing crypto config's domainSelectorScheme (asynchronously)
|
com.squareup.okhttp.Call |
updateCryptoConfigSelectorSchemeCall(java.lang.String cryptoConfigId,
java.lang.String newSelectorScheme,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateCryptoConfigSelectorScheme
|
ApiResponse<java.lang.Void> |
updateCryptoConfigSelectorSchemeWithHttpInfo(java.lang.String cryptoConfigId,
java.lang.String newSelectorScheme)
Update an existing crypto config's domainSelectorScheme
|
ApiResponse<CryptoConfig> |
updateCryptoConfigWithHttpInfo(java.lang.String cryptoConfigId,
CryptoConfig updatedCryptoConfig)
Update the crypto configuration, ONLY the clientKeyType clientKeyBitlength, and clientKeyTTL fields.
|
void |
updateExpireUseDomain(java.lang.String useDomainId,
java.lang.Integer inceptionTTL,
java.lang.Integer encryptionTTL,
java.lang.Integer decryptionTTL,
java.lang.Integer retentionTTL)
Chnage expiration of a use domain
|
com.squareup.okhttp.Call |
updateExpireUseDomainAsync(java.lang.String useDomainId,
java.lang.Integer inceptionTTL,
java.lang.Integer encryptionTTL,
java.lang.Integer decryptionTTL,
java.lang.Integer retentionTTL,
ApiCallback<java.lang.Void> callback)
Chnage expiration of a use domain (asynchronously)
|
com.squareup.okhttp.Call |
updateExpireUseDomainCall(java.lang.String useDomainId,
java.lang.Integer inceptionTTL,
java.lang.Integer encryptionTTL,
java.lang.Integer decryptionTTL,
java.lang.Integer retentionTTL,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateExpireUseDomain
|
ApiResponse<java.lang.Void> |
updateExpireUseDomainWithHttpInfo(java.lang.String useDomainId,
java.lang.Integer inceptionTTL,
java.lang.Integer encryptionTTL,
java.lang.Integer decryptionTTL,
java.lang.Integer retentionTTL)
Chnage expiration of a use domain
|
public CryptoConfigApi()
public CryptoConfigApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addExistingUseDomainCall(java.lang.String cryptoConfigId,
java.lang.String useDomainId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
cryptoConfigId - (required)useDomainId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void addExistingUseDomain(java.lang.String cryptoConfigId,
java.lang.String useDomainId)
throws ApiException
cryptoConfigId - (required)useDomainId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> addExistingUseDomainWithHttpInfo(java.lang.String cryptoConfigId, java.lang.String useDomainId) throws ApiException
cryptoConfigId - (required)useDomainId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addExistingUseDomainAsync(java.lang.String cryptoConfigId,
java.lang.String useDomainId,
ApiCallback<java.lang.Void> callback)
throws ApiException
cryptoConfigId - (required)useDomainId - (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 com.squareup.okhttp.Call addUseDomainCall(java.lang.String cryptoConfigId,
SymmetricKeyUseDomain newUseDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
cryptoConfigId - (required)newUseDomain - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic SymmetricKeyUseDomain addUseDomain(java.lang.String cryptoConfigId, SymmetricKeyUseDomain newUseDomain) throws ApiException
cryptoConfigId - (required)newUseDomain - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SymmetricKeyUseDomain> addUseDomainWithHttpInfo(java.lang.String cryptoConfigId, SymmetricKeyUseDomain newUseDomain) throws ApiException
cryptoConfigId - (required)newUseDomain - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addUseDomainAsync(java.lang.String cryptoConfigId,
SymmetricKeyUseDomain newUseDomain,
ApiCallback<SymmetricKeyUseDomain> callback)
throws ApiException
cryptoConfigId - (required)newUseDomain - (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 com.squareup.okhttp.Call getCryptoConfigCall(java.lang.String cryptoConfigId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
cryptoConfigId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CryptoConfig getCryptoConfig(java.lang.String cryptoConfigId) throws ApiException
cryptoConfigId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CryptoConfig> getCryptoConfigWithHttpInfo(java.lang.String cryptoConfigId) throws ApiException
cryptoConfigId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getCryptoConfigAsync(java.lang.String cryptoConfigId,
ApiCallback<CryptoConfig> callback)
throws ApiException
cryptoConfigId - (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 com.squareup.okhttp.Call rapidRotationUseDomainCall(java.lang.String useDomainId,
java.lang.String optionalNextKeyDerivationServiceId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
useDomainId - (required)optionalNextKeyDerivationServiceId - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void rapidRotationUseDomain(java.lang.String useDomainId,
java.lang.String optionalNextKeyDerivationServiceId)
throws ApiException
useDomainId - (required)optionalNextKeyDerivationServiceId - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> rapidRotationUseDomainWithHttpInfo(java.lang.String useDomainId, java.lang.String optionalNextKeyDerivationServiceId) throws ApiException
useDomainId - (required)optionalNextKeyDerivationServiceId - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rapidRotationUseDomainAsync(java.lang.String useDomainId,
java.lang.String optionalNextKeyDerivationServiceId,
ApiCallback<java.lang.Void> callback)
throws ApiException
useDomainId - (required)optionalNextKeyDerivationServiceId - (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 com.squareup.okhttp.Call removeUseDomainCall(java.lang.String useDomainId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
useDomainId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void removeUseDomain(java.lang.String useDomainId)
throws ApiException
useDomainId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> removeUseDomainWithHttpInfo(java.lang.String useDomainId) throws ApiException
useDomainId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeUseDomainAsync(java.lang.String useDomainId,
ApiCallback<java.lang.Void> callback)
throws ApiException
useDomainId - (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 com.squareup.okhttp.Call updateCryptoConfigCall(java.lang.String cryptoConfigId,
CryptoConfig updatedCryptoConfig,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
cryptoConfigId - (required)updatedCryptoConfig - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CryptoConfig updateCryptoConfig(java.lang.String cryptoConfigId, CryptoConfig updatedCryptoConfig) throws ApiException
cryptoConfigId - (required)updatedCryptoConfig - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CryptoConfig> updateCryptoConfigWithHttpInfo(java.lang.String cryptoConfigId, CryptoConfig updatedCryptoConfig) throws ApiException
cryptoConfigId - (required)updatedCryptoConfig - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateCryptoConfigAsync(java.lang.String cryptoConfigId,
CryptoConfig updatedCryptoConfig,
ApiCallback<CryptoConfig> callback)
throws ApiException
cryptoConfigId - (required)updatedCryptoConfig - (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 com.squareup.okhttp.Call updateCryptoConfigFallbackToCloudCall(java.lang.String useDomainId,
java.lang.Boolean fallbackToCloud,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
useDomainId - (required)fallbackToCloud - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateCryptoConfigFallbackToCloud(java.lang.String useDomainId,
java.lang.Boolean fallbackToCloud)
throws ApiException
useDomainId - (required)fallbackToCloud - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> updateCryptoConfigFallbackToCloudWithHttpInfo(java.lang.String useDomainId, java.lang.Boolean fallbackToCloud) throws ApiException
useDomainId - (required)fallbackToCloud - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateCryptoConfigFallbackToCloudAsync(java.lang.String useDomainId,
java.lang.Boolean fallbackToCloud,
ApiCallback<java.lang.Void> callback)
throws ApiException
useDomainId - (required)fallbackToCloud - (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 com.squareup.okhttp.Call updateCryptoConfigSelectorSchemeCall(java.lang.String cryptoConfigId,
java.lang.String newSelectorScheme,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
cryptoConfigId - (required)newSelectorScheme - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateCryptoConfigSelectorScheme(java.lang.String cryptoConfigId,
java.lang.String newSelectorScheme)
throws ApiException
cryptoConfigId - (required)newSelectorScheme - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> updateCryptoConfigSelectorSchemeWithHttpInfo(java.lang.String cryptoConfigId, java.lang.String newSelectorScheme) throws ApiException
cryptoConfigId - (required)newSelectorScheme - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateCryptoConfigSelectorSchemeAsync(java.lang.String cryptoConfigId,
java.lang.String newSelectorScheme,
ApiCallback<java.lang.Void> callback)
throws ApiException
cryptoConfigId - (required)newSelectorScheme - (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 com.squareup.okhttp.Call updateExpireUseDomainCall(java.lang.String useDomainId,
java.lang.Integer inceptionTTL,
java.lang.Integer encryptionTTL,
java.lang.Integer decryptionTTL,
java.lang.Integer retentionTTL,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
useDomainId - (required)inceptionTTL - (required)encryptionTTL - (required)decryptionTTL - (required)retentionTTL - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateExpireUseDomain(java.lang.String useDomainId,
java.lang.Integer inceptionTTL,
java.lang.Integer encryptionTTL,
java.lang.Integer decryptionTTL,
java.lang.Integer retentionTTL)
throws ApiException
useDomainId - (required)inceptionTTL - (required)encryptionTTL - (required)decryptionTTL - (required)retentionTTL - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> updateExpireUseDomainWithHttpInfo(java.lang.String useDomainId, java.lang.Integer inceptionTTL, java.lang.Integer encryptionTTL, java.lang.Integer decryptionTTL, java.lang.Integer retentionTTL) throws ApiException
useDomainId - (required)inceptionTTL - (required)encryptionTTL - (required)decryptionTTL - (required)retentionTTL - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateExpireUseDomainAsync(java.lang.String useDomainId,
java.lang.Integer inceptionTTL,
java.lang.Integer encryptionTTL,
java.lang.Integer decryptionTTL,
java.lang.Integer retentionTTL,
ApiCallback<java.lang.Void> callback)
throws ApiException
useDomainId - (required)inceptionTTL - (required)encryptionTTL - (required)decryptionTTL - (required)retentionTTL - (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 object