public class KeyApi
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
Key |
getKey(java.lang.String xChainId,
java.lang.String keyId)
Get Key
Find key info
|
com.squareup.okhttp.Call |
getKeyAsync(java.lang.String xChainId,
java.lang.String keyId,
ApiCallback<Key> callback)
Get Key (asynchronously)
Find key info
|
com.squareup.okhttp.Call |
getKeyCall(java.lang.String xChainId,
java.lang.String keyId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getKey
|
ApiResponse<Key> |
getKeyWithHttpInfo(java.lang.String xChainId,
java.lang.String keyId)
Get Key
Find key info
|
KeyCreationResponse |
keyCreation(java.lang.String xChainId,
KeyCreationRequest body)
Key Creation
You can create key up to 100
|
com.squareup.okhttp.Call |
keyCreationAsync(java.lang.String xChainId,
KeyCreationRequest body,
ApiCallback<KeyCreationResponse> callback)
Key Creation (asynchronously)
You can create key up to 100
|
com.squareup.okhttp.Call |
keyCreationCall(java.lang.String xChainId,
KeyCreationRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for keyCreation
|
ApiResponse<KeyCreationResponse> |
keyCreationWithHttpInfo(java.lang.String xChainId,
KeyCreationRequest body)
Key Creation
You can create key up to 100
|
KeySignDataResponse |
keySignData(java.lang.String xChainId,
java.lang.String keyId,
KeySignDataRequest body,
java.lang.String xKrn)
Sign Data using key
Sign the data using key
|
com.squareup.okhttp.Call |
keySignDataAsync(java.lang.String xChainId,
java.lang.String keyId,
KeySignDataRequest body,
java.lang.String xKrn,
ApiCallback<KeySignDataResponse> callback)
Sign Data using key (asynchronously)
Sign the data using key
|
com.squareup.okhttp.Call |
keySignDataCall(java.lang.String xChainId,
java.lang.String keyId,
KeySignDataRequest body,
java.lang.String xKrn,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for keySignData
|
ApiResponse<KeySignDataResponse> |
keySignDataWithHttpInfo(java.lang.String xChainId,
java.lang.String keyId,
KeySignDataRequest body,
java.lang.String xKrn)
Sign Data using key
Sign the data using key
|
void |
setApiClient(ApiClient apiClient) |
public KeyApi()
public KeyApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getKeyCall(java.lang.String xChainId, java.lang.String keyId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)keyId
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Key getKey(java.lang.String xChainId, java.lang.String keyId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)keyId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Key> getKeyWithHttpInfo(java.lang.String xChainId, java.lang.String keyId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)keyId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getKeyAsync(java.lang.String xChainId, java.lang.String keyId, ApiCallback<Key> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)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 keyCreationCall(java.lang.String xChainId, KeyCreationRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic KeyCreationResponse keyCreation(java.lang.String xChainId, KeyCreationRequest body) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<KeyCreationResponse> keyCreationWithHttpInfo(java.lang.String xChainId, KeyCreationRequest body) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call keyCreationAsync(java.lang.String xChainId, KeyCreationRequest body, ApiCallback<KeyCreationResponse> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (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 keySignDataCall(java.lang.String xChainId, java.lang.String keyId, KeySignDataRequest body, java.lang.String xKrn, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)keyId
- (required)body
- (optional)xKrn
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic KeySignDataResponse keySignData(java.lang.String xChainId, java.lang.String keyId, KeySignDataRequest body, java.lang.String xKrn) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)keyId
- (required)body
- (optional)xKrn
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<KeySignDataResponse> keySignDataWithHttpInfo(java.lang.String xChainId, java.lang.String keyId, KeySignDataRequest body, java.lang.String xKrn) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)keyId
- (required)body
- (optional)xKrn
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call keySignDataAsync(java.lang.String xChainId, java.lang.String keyId, KeySignDataRequest body, java.lang.String xKrn, ApiCallback<KeySignDataResponse> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)keyId
- (required)body
- (optional)xKrn
- (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 object