All URIs are relative to https://192.168.78.139/KeyfactorAPI
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse certificateStoreTypeCreateCertificateStoreType(xKeyfactorRequestedWith, certStoreType, xKeyfactorApiVersion)
Creates a new certificate store type with the provided properties
// Import classes:
import com.keyfactor.command.client.ApiClient;
import com.keyfactor.command.client.ApiException;
import com.keyfactor.command.client.Configuration;
import com.keyfactor.command.client.auth.*;
import com.keyfactor.command.client.models.*;
import com.keyfactor.command.client.api.CertificateStoreTypeApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://192.168.78.139/KeyfactorAPI");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
CertificateStoreTypeApi apiInstance = new CertificateStoreTypeApi(defaultClient);
String xKeyfactorRequestedWith = "APIClient"; // String | Type of the request [XMLHttpRequest, APIClient]
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeCreationRequest certStoreType = new KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeCreationRequest(); // KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeCreationRequest | Certificate store type properties for the new type
String xKeyfactorApiVersion = "1"; // String | Desired version of the api, if not provided defaults to v1
try {
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse result = apiInstance.certificateStoreTypeCreateCertificateStoreType(xKeyfactorRequestedWith, certStoreType, xKeyfactorApiVersion);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CertificateStoreTypeApi#certificateStoreTypeCreateCertificateStoreType");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| xKeyfactorRequestedWith | String | Type of the request [XMLHttpRequest, APIClient] | [default to APIClient] |
| certStoreType | KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeCreationRequest | Certificate store type properties for the new type | |
| xKeyfactorApiVersion | String | Desired version of the api, if not provided defaults to v1 | [optional] [default to 1] |
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
certificateStoreTypeDeleteCertificateStoreType(id, xKeyfactorRequestedWith, xKeyfactorApiVersion)
Deletes a certificate store type according to the provided identifier
This will ignore individual delete failures, and continue processing certificate stores.
// Import classes:
import com.keyfactor.command.client.ApiClient;
import com.keyfactor.command.client.ApiException;
import com.keyfactor.command.client.Configuration;
import com.keyfactor.command.client.auth.*;
import com.keyfactor.command.client.models.*;
import com.keyfactor.command.client.api.CertificateStoreTypeApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://192.168.78.139/KeyfactorAPI");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
CertificateStoreTypeApi apiInstance = new CertificateStoreTypeApi(defaultClient);
Integer id = 56; // Integer | Keyfactor identifier of the certificate store type to be deleted
String xKeyfactorRequestedWith = "APIClient"; // String | Type of the request [XMLHttpRequest, APIClient]
String xKeyfactorApiVersion = "1"; // String | Desired version of the api, if not provided defaults to v1
try {
apiInstance.certificateStoreTypeDeleteCertificateStoreType(id, xKeyfactorRequestedWith, xKeyfactorApiVersion);
} catch (ApiException e) {
System.err.println("Exception when calling CertificateStoreTypeApi#certificateStoreTypeDeleteCertificateStoreType");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Keyfactor identifier of the certificate store type to be deleted | |
| xKeyfactorRequestedWith | String | Type of the request [XMLHttpRequest, APIClient] | [default to APIClient] |
| xKeyfactorApiVersion | String | Desired version of the api, if not provided defaults to v1 | [optional] [default to 1] |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | No Content | - |
certificateStoreTypeDeleteCertificateStoreTypes(xKeyfactorRequestedWith, ids, xKeyfactorApiVersion)
Deletes certificate store types according to the provided identifiers
This will ignore individual delete failures, and continue processing the array.
// Import classes:
import com.keyfactor.command.client.ApiClient;
import com.keyfactor.command.client.ApiException;
import com.keyfactor.command.client.Configuration;
import com.keyfactor.command.client.auth.*;
import com.keyfactor.command.client.models.*;
import com.keyfactor.command.client.api.CertificateStoreTypeApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://192.168.78.139/KeyfactorAPI");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
CertificateStoreTypeApi apiInstance = new CertificateStoreTypeApi(defaultClient);
String xKeyfactorRequestedWith = "APIClient"; // String | Type of the request [XMLHttpRequest, APIClient]
List<Integer> ids = Arrays.asList(); // List<Integer> | Array of Keyfactor identifiers of the certificate store types to be deleted
String xKeyfactorApiVersion = "1"; // String | Desired version of the api, if not provided defaults to v1
try {
apiInstance.certificateStoreTypeDeleteCertificateStoreTypes(xKeyfactorRequestedWith, ids, xKeyfactorApiVersion);
} catch (ApiException e) {
System.err.println("Exception when calling CertificateStoreTypeApi#certificateStoreTypeDeleteCertificateStoreTypes");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| xKeyfactorRequestedWith | String | Type of the request [XMLHttpRequest, APIClient] | [default to APIClient] |
| ids | List<Integer> | Array of Keyfactor identifiers of the certificate store types to be deleted | |
| xKeyfactorApiVersion | String | Desired version of the api, if not provided defaults to v1 | [optional] [default to 1] |
null (empty response body)
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | No Content | - |
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse certificateStoreTypeGetCertificateStoreType0(id, xKeyfactorRequestedWith, xKeyfactorApiVersion)
Returns a single certificate store type that matches id
// Import classes:
import com.keyfactor.command.client.ApiClient;
import com.keyfactor.command.client.ApiException;
import com.keyfactor.command.client.Configuration;
import com.keyfactor.command.client.auth.*;
import com.keyfactor.command.client.models.*;
import com.keyfactor.command.client.api.CertificateStoreTypeApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://192.168.78.139/KeyfactorAPI");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
CertificateStoreTypeApi apiInstance = new CertificateStoreTypeApi(defaultClient);
Integer id = 56; // Integer | Keyfactor identifier of the certificate store type
String xKeyfactorRequestedWith = "APIClient"; // String | Type of the request [XMLHttpRequest, APIClient]
String xKeyfactorApiVersion = "1"; // String | Desired version of the api, if not provided defaults to v1
try {
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse result = apiInstance.certificateStoreTypeGetCertificateStoreType0(id, xKeyfactorRequestedWith, xKeyfactorApiVersion);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CertificateStoreTypeApi#certificateStoreTypeGetCertificateStoreType0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Keyfactor identifier of the certificate store type | |
| xKeyfactorRequestedWith | String | Type of the request [XMLHttpRequest, APIClient] | [default to APIClient] |
| xKeyfactorApiVersion | String | Desired version of the api, if not provided defaults to v1 | [optional] [default to 1] |
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
List<KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse> certificateStoreTypeGetCertificateStoreType1(name, xKeyfactorRequestedWith, xKeyfactorApiVersion)
Returns a single certificate store type that matches the provided short name
// Import classes:
import com.keyfactor.command.client.ApiClient;
import com.keyfactor.command.client.ApiException;
import com.keyfactor.command.client.Configuration;
import com.keyfactor.command.client.auth.*;
import com.keyfactor.command.client.models.*;
import com.keyfactor.command.client.api.CertificateStoreTypeApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://192.168.78.139/KeyfactorAPI");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
CertificateStoreTypeApi apiInstance = new CertificateStoreTypeApi(defaultClient);
String name = "name_example"; // String | Short name of the certificate store type to return
String xKeyfactorRequestedWith = "APIClient"; // String | Type of the request [XMLHttpRequest, APIClient]
String xKeyfactorApiVersion = "1"; // String | Desired version of the api, if not provided defaults to v1
try {
List<KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse> result = apiInstance.certificateStoreTypeGetCertificateStoreType1(name, xKeyfactorRequestedWith, xKeyfactorApiVersion);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CertificateStoreTypeApi#certificateStoreTypeGetCertificateStoreType1");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | Short name of the certificate store type to return | |
| xKeyfactorRequestedWith | String | Type of the request [XMLHttpRequest, APIClient] | [default to APIClient] |
| xKeyfactorApiVersion | String | Desired version of the api, if not provided defaults to v1 | [optional] [default to 1] |
List<KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse>
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
List<KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse> certificateStoreTypeGetTypes(xKeyfactorRequestedWith, xKeyfactorApiVersion, cstqueryQueryString, cstqueryPageReturned, cstqueryReturnLimit, cstquerySortField, cstquerySortAscending)
Returns all certificate store types according to the provided filter and output parameters
// Import classes:
import com.keyfactor.command.client.ApiClient;
import com.keyfactor.command.client.ApiException;
import com.keyfactor.command.client.Configuration;
import com.keyfactor.command.client.auth.*;
import com.keyfactor.command.client.models.*;
import com.keyfactor.command.client.api.CertificateStoreTypeApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://192.168.78.139/KeyfactorAPI");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
CertificateStoreTypeApi apiInstance = new CertificateStoreTypeApi(defaultClient);
String xKeyfactorRequestedWith = "APIClient"; // String | Type of the request [XMLHttpRequest, APIClient]
String xKeyfactorApiVersion = "1"; // String | Desired version of the api, if not provided defaults to v1
String cstqueryQueryString = "cstqueryQueryString_example"; // String | Contents of the query (ex: field1 -eq value1 AND field2 -gt value2)
Integer cstqueryPageReturned = 56; // Integer | The current page within the result set to be returned
Integer cstqueryReturnLimit = 56; // Integer | Maximum number of records to be returned in a single call
String cstquerySortField = "cstquerySortField_example"; // String | Field by which the results should be sorted (view results via Management Portal for sortable columns)
Integer cstquerySortAscending = 0; // Integer | Field sort direction [0=ascending, 1=descending]
try {
List<KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse> result = apiInstance.certificateStoreTypeGetTypes(xKeyfactorRequestedWith, xKeyfactorApiVersion, cstqueryQueryString, cstqueryPageReturned, cstqueryReturnLimit, cstquerySortField, cstquerySortAscending);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CertificateStoreTypeApi#certificateStoreTypeGetTypes");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| xKeyfactorRequestedWith | String | Type of the request [XMLHttpRequest, APIClient] | [default to APIClient] |
| xKeyfactorApiVersion | String | Desired version of the api, if not provided defaults to v1 | [optional] [default to 1] |
| cstqueryQueryString | String | Contents of the query (ex: field1 -eq value1 AND field2 -gt value2) | [optional] |
| cstqueryPageReturned | Integer | The current page within the result set to be returned | [optional] |
| cstqueryReturnLimit | Integer | Maximum number of records to be returned in a single call | [optional] |
| cstquerySortField | String | Field by which the results should be sorted (view results via Management Portal for sortable columns) | [optional] |
| cstquerySortAscending | Integer | Field sort direction [0=ascending, 1=descending] | [optional] [enum: 0, 1] |
List<KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse>
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse certificateStoreTypeUpdateCertificateStoreType(xKeyfactorRequestedWith, certStoreType, xKeyfactorApiVersion)
Updates an existing certificate store type with the provided properties
// Import classes:
import com.keyfactor.command.client.ApiClient;
import com.keyfactor.command.client.ApiException;
import com.keyfactor.command.client.Configuration;
import com.keyfactor.command.client.auth.*;
import com.keyfactor.command.client.models.*;
import com.keyfactor.command.client.api.CertificateStoreTypeApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://192.168.78.139/KeyfactorAPI");
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
CertificateStoreTypeApi apiInstance = new CertificateStoreTypeApi(defaultClient);
String xKeyfactorRequestedWith = "APIClient"; // String | Type of the request [XMLHttpRequest, APIClient]
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeUpdateRequest certStoreType = new KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeUpdateRequest(); // KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeUpdateRequest | Certificate store type properties to be updated
String xKeyfactorApiVersion = "1"; // String | Desired version of the api, if not provided defaults to v1
try {
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse result = apiInstance.certificateStoreTypeUpdateCertificateStoreType(xKeyfactorRequestedWith, certStoreType, xKeyfactorApiVersion);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CertificateStoreTypeApi#certificateStoreTypeUpdateCertificateStoreType");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| xKeyfactorRequestedWith | String | Type of the request [XMLHttpRequest, APIClient] | [default to APIClient] |
| certStoreType | KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeUpdateRequest | Certificate store type properties to be updated | |
| xKeyfactorApiVersion | String | Desired version of the api, if not provided defaults to v1 | [optional] [default to 1] |
KeyfactorApiModelsCertificateStoresTypesCertificateStoreTypeResponse
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
