You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This reference serves to document REST-based methods to manage and integrate with Keyfactor. In addition, an embedded interface allows for the execution of calls against the current Keyfactor API instance.
String xCertificateformat ="PEM"; // String | Desired format [PFX, PEM]
1174
1175
String xKeyfactorRequestedWith ="APIClient"; // String | Type of the request [XMLHttpRequest, APIClient]
1175
1176
ModelsCertificateRecoveryRequest rq =newModelsCertificateRecoveryRequest(); // ModelsCertificateRecoveryRequest | Query to filter the certificate to be recovered
1176
1177
Integer collectionId =56; // Integer | Optional certificate collection identifier used to ensure user access to the certificate
1177
1178
String xKeyfactorApiVersion ="1"; // String | Desired version of the api, if not provided defaults to v1
1178
1179
try {
1179
-
ModelsRecoveryResponse result = apiInstance.certificateRecoverCertificateAsync(xKeyfactorRequestedWith, rq, collectionId, xKeyfactorApiVersion);
1180
+
ModelsRecoveryResponse result = apiInstance.certificateRecoverCertificateAsync(xCertificateformat, xKeyfactorRequestedWith, rq, collectionId, xKeyfactorApiVersion);
1180
1181
System.out.println(result);
1181
1182
} catch (ApiException e) {
1182
1183
System.err.println("Exception when calling CertificateApi#certificateRecoverCertificateAsync");
* Recovers the persisted certificate associated with the provided query
2617
2627
* *NOTE: At least one of the following criteria must be provided: 1. Certificate ID 2. Thumbprint 3. Serial number AND Issuer DN (because Serial Number is CA-specific and so is not unique enough on its own)
2628
+
* @param xCertificateformat Desired format [PFX, PEM] (required)
2618
2629
* @param xKeyfactorRequestedWith Type of the request [XMLHttpRequest, APIClient] (required)
2619
2630
* @param rq Query to filter the certificate to be recovered (required)
2620
2631
* @param collectionId Optional certificate collection identifier used to ensure user access to the certificate (optional)
* Recovers the persisted certificate associated with the provided query
2637
2648
* *NOTE: At least one of the following criteria must be provided: 1. Certificate ID 2. Thumbprint 3. Serial number AND Issuer DN (because Serial Number is CA-specific and so is not unique enough on its own)
2649
+
* @param xCertificateformat Desired format [PFX, PEM] (required)
2638
2650
* @param xKeyfactorRequestedWith Type of the request [XMLHttpRequest, APIClient] (required)
2639
2651
* @param rq Query to filter the certificate to be recovered (required)
2640
2652
* @param collectionId Optional certificate collection identifier used to ensure user access to the certificate (optional)
@@ -2647,15 +2659,16 @@ public ModelsRecoveryResponse certificateRecoverCertificateAsync(String xKeyfact
* Recovers the persisted certificate associated with the provided query (asynchronously)
2658
2670
* *NOTE: At least one of the following criteria must be provided: 1. Certificate ID 2. Thumbprint 3. Serial number AND Issuer DN (because Serial Number is CA-specific and so is not unique enough on its own)
2671
+
* @param xCertificateformat Desired format [PFX, PEM] (required)
2659
2672
* @param xKeyfactorRequestedWith Type of the request [XMLHttpRequest, APIClient] (required)
2660
2673
* @param rq Query to filter the certificate to be recovered (required)
2661
2674
* @param collectionId Optional certificate collection identifier used to ensure user access to the certificate (optional)
@@ -2669,9 +2682,9 @@ public ApiResponse<ModelsRecoveryResponse> certificateRecoverCertificateAsyncWit
0 commit comments