public class KeyServiceApi
extends java.lang.Object
| Constructor and Description |
|---|
KeyServiceApi() |
KeyServiceApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EncryptedSymmetricKey> |
getAllEncryptedKeys(java.lang.String encryptingKeyId,
java.util.List<java.lang.String> symmetricKeyIds)
Get all encrypted symmetric keys that are encrypted with this encrypting keyId, optionally limiting the request to a set of symmetric key domains
|
com.squareup.okhttp.Call |
getAllEncryptedKeysAsync(java.lang.String encryptingKeyId,
java.util.List<java.lang.String> symmetricKeyIds,
ApiCallback<java.util.List<EncryptedSymmetricKey>> callback)
Get all encrypted symmetric keys that are encrypted with this encrypting keyId, optionally limiting the request to a set of symmetric key domains (asynchronously)
|
com.squareup.okhttp.Call |
getAllEncryptedKeysCall(java.lang.String encryptingKeyId,
java.util.List<java.lang.String> symmetricKeyIds,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllEncryptedKeys
|
ApiResponse<java.util.List<EncryptedSymmetricKey>> |
getAllEncryptedKeysWithHttpInfo(java.lang.String encryptingKeyId,
java.util.List<java.lang.String> symmetricKeyIds)
Get all encrypted symmetric keys that are encrypted with this encrypting keyId, optionally limiting the request to a set of symmetric key domains
|
ApiClient |
getApiClient() |
PublicKey |
getPublicKey(java.lang.String keyID)
Get the public key associated with the passed-in key ID
|
com.squareup.okhttp.Call |
getPublicKeyAsync(java.lang.String keyID,
ApiCallback<PublicKey> callback)
Get the public key associated with the passed-in key ID (asynchronously)
|
com.squareup.okhttp.Call |
getPublicKeyCall(java.lang.String keyID,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getPublicKey
|
ApiResponse<PublicKey> |
getPublicKeyWithHttpInfo(java.lang.String keyID)
Get the public key associated with the passed-in key ID
|
void |
postNewEncryptedKeys(java.lang.String encryptingKeyId,
java.util.List<EncryptedSymmetricKey> encryptedSymmetricKey)
Add a new encrypted key.
|
com.squareup.okhttp.Call |
postNewEncryptedKeysAsync(java.lang.String encryptingKeyId,
java.util.List<EncryptedSymmetricKey> encryptedSymmetricKey,
ApiCallback<java.lang.Void> callback)
Add a new encrypted key.
|
com.squareup.okhttp.Call |
postNewEncryptedKeysCall(java.lang.String encryptingKeyId,
java.util.List<EncryptedSymmetricKey> encryptedSymmetricKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postNewEncryptedKeys
|
ApiResponse<java.lang.Void> |
postNewEncryptedKeysWithHttpInfo(java.lang.String encryptingKeyId,
java.util.List<EncryptedSymmetricKey> encryptedSymmetricKey)
Add a new encrypted key.
|
void |
setApiClient(ApiClient apiClient) |
public KeyServiceApi()
public KeyServiceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getAllEncryptedKeysCall(java.lang.String encryptingKeyId,
java.util.List<java.lang.String> symmetricKeyIds,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
encryptingKeyId - (required)symmetricKeyIds - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.util.List<EncryptedSymmetricKey> getAllEncryptedKeys(java.lang.String encryptingKeyId, java.util.List<java.lang.String> symmetricKeyIds) throws ApiException
encryptingKeyId - (required)symmetricKeyIds - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.util.List<EncryptedSymmetricKey>> getAllEncryptedKeysWithHttpInfo(java.lang.String encryptingKeyId, java.util.List<java.lang.String> symmetricKeyIds) throws ApiException
encryptingKeyId - (required)symmetricKeyIds - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAllEncryptedKeysAsync(java.lang.String encryptingKeyId,
java.util.List<java.lang.String> symmetricKeyIds,
ApiCallback<java.util.List<EncryptedSymmetricKey>> callback)
throws ApiException
encryptingKeyId - (required)symmetricKeyIds - (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 getPublicKeyCall(java.lang.String keyID,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
keyID - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PublicKey getPublicKey(java.lang.String keyID) throws ApiException
keyID - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PublicKey> getPublicKeyWithHttpInfo(java.lang.String keyID) throws ApiException
keyID - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPublicKeyAsync(java.lang.String keyID,
ApiCallback<PublicKey> callback)
throws ApiException
keyID - (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 postNewEncryptedKeysCall(java.lang.String encryptingKeyId,
java.util.List<EncryptedSymmetricKey> encryptedSymmetricKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
encryptingKeyId - (required)encryptedSymmetricKey - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void postNewEncryptedKeys(java.lang.String encryptingKeyId,
java.util.List<EncryptedSymmetricKey> encryptedSymmetricKey)
throws ApiException
encryptingKeyId - (required)encryptedSymmetricKey - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> postNewEncryptedKeysWithHttpInfo(java.lang.String encryptingKeyId, java.util.List<EncryptedSymmetricKey> encryptedSymmetricKey) throws ApiException
encryptingKeyId - (required)encryptedSymmetricKey - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postNewEncryptedKeysAsync(java.lang.String encryptingKeyId,
java.util.List<EncryptedSymmetricKey> encryptedSymmetricKey,
ApiCallback<java.lang.Void> callback)
throws ApiException
encryptingKeyId - (required)encryptedSymmetricKey - (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