public class KeyGenerationApi extends Object
| Constructor and Description |
|---|
KeyGenerationApi() |
KeyGenerationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
FlexV1KeysPost200Response |
generatePublicKey(String format,
GeneratePublicKeyRequest generatePublicKeyRequest)
Generate Key
Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request.
|
okhttp3.Call |
generatePublicKeyAsync(String format,
GeneratePublicKeyRequest generatePublicKeyRequest,
ApiCallback<FlexV1KeysPost200Response> callback)
Generate Key (asynchronously)
Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request.
|
okhttp3.Call |
generatePublicKeyCall(String format,
GeneratePublicKeyRequest generatePublicKeyRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for generatePublicKey
|
ApiResponse<FlexV1KeysPost200Response> |
generatePublicKeyWithHttpInfo(String format,
GeneratePublicKeyRequest generatePublicKeyRequest)
Generate Key
Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public KeyGenerationApi()
public KeyGenerationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call generatePublicKeyCall(String format, GeneratePublicKeyRequest generatePublicKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
format - Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (required)generatePublicKeyRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic FlexV1KeysPost200Response generatePublicKey(String format, GeneratePublicKeyRequest generatePublicKeyRequest) throws ApiException
format - Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (required)generatePublicKeyRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FlexV1KeysPost200Response> generatePublicKeyWithHttpInfo(String format, GeneratePublicKeyRequest generatePublicKeyRequest) throws ApiException
format - Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (required)generatePublicKeyRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call generatePublicKeyAsync(String format, GeneratePublicKeyRequest generatePublicKeyRequest, ApiCallback<FlexV1KeysPost200Response> callback) throws ApiException
format - Indicator to enable the receipt of the Keys response in Flex 11+ format (JWT) or legacy (parameter not required) (required)generatePublicKeyRequest - (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 objectCopyright © 2020. All rights reserved.