public class KeyGenerationApi extends Object
| Constructor and Description |
|---|
KeyGenerationApi() |
KeyGenerationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
FlexV1KeysPost200Response |
generatePublicKey(GeneratePublicKeyRequest generatePublicKeyRequest,
com.cybersource.authsdk.core.MerchantConfig merchantConfig)
Generate Key
Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request.
|
com.squareup.okhttp.Call |
generatePublicKeyAsync(GeneratePublicKeyRequest generatePublicKeyRequest,
com.cybersource.authsdk.core.MerchantConfig merchantConfig,
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.
|
com.squareup.okhttp.Call |
generatePublicKeyCall(GeneratePublicKeyRequest generatePublicKeyRequest,
com.cybersource.authsdk.core.MerchantConfig merchantConfig,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for generatePublicKey
|
ApiResponse<FlexV1KeysPost200Response> |
generatePublicKeyWithHttpInfo(GeneratePublicKeyRequest generatePublicKeyRequest,
com.cybersource.authsdk.core.MerchantConfig merchantConfig)
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 com.squareup.okhttp.Call generatePublicKeyCall(GeneratePublicKeyRequest generatePublicKeyRequest, com.cybersource.authsdk.core.MerchantConfig merchantConfig, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
generatePublicKeyRequest - (optional)merchantConfig - (merchant details)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic FlexV1KeysPost200Response generatePublicKey(GeneratePublicKeyRequest generatePublicKeyRequest, com.cybersource.authsdk.core.MerchantConfig merchantConfig) throws ApiException
generatePublicKeyRequest - (optional)merchantConfig - (merchant details)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FlexV1KeysPost200Response> generatePublicKeyWithHttpInfo(GeneratePublicKeyRequest generatePublicKeyRequest, com.cybersource.authsdk.core.MerchantConfig merchantConfig) throws ApiException
generatePublicKeyRequest - (optional)merchantConfig - (merchant details)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call generatePublicKeyAsync(GeneratePublicKeyRequest generatePublicKeyRequest, com.cybersource.authsdk.core.MerchantConfig merchantConfig, ApiCallback<FlexV1KeysPost200Response> callback) throws ApiException
generatePublicKeyRequest - (optional)merchantConfig - (merchant details)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 © 2018. All rights reserved.