// If the Cert already exists then throw illegal argument exception. This logic should go into the datamanager
if(keyId == null || keyId.isEmpty()){
throw new IllegalArgumentException("SSLKey with that id does not exist");
}
SSLCertResponse response = new SSLCertResponse(SSLCertResponse.FAILURE);
com.alu.e3.prov.restapi.model.Error e = new com.alu.e3.prov.restapi.model.Error();
e.setErrorText("Not Implemented");
response.setError(e);
return response;
}
};
}