Refactor flow of cert files generation, based on OUTPUT_TYPE parameter
[oom/platform/cert-service.git] / certServiceClient / src / main / java / org / onap / aaf / certservice / client / api / ExitStatus.java
index c474fd0..0005782 100644 (file)
@@ -28,7 +28,10 @@ public enum ExitStatus {
     CERT_SERVICE_API_CONNECTION_EXCEPTION(5,"CertService HTTP unsuccessful response"),
     HTTP_CLIENT_EXCEPTION(6,"Internal HTTP Client connection problem"),
     PKCS12_CONVERSION_EXCEPTION(7,"Fail in PKCS12 conversion"),
-    PK_TO_PEM_ENCODING_EXCEPTION(8,"Fail in Private Key to PEM Encoding");
+    PK_TO_PEM_ENCODING_EXCEPTION(8,"Fail in Private Key to PEM Encoding"),
+    TLS_CONFIGURATION_EXCEPTION(9, "Invalid TLS configuration"),
+    OUTPUT_TYPE_PARAMETER_VALIDATION_EXCEPTION(10, "Invalid value of the OUTPUT_TYPE parameter"),
+    CERT_OUTPUT_TYPE_NOT_SUPPORTED_EXCEPTION(11, "Certificate creation type is not supported");
 
     private final int value;
     private final String message;