private Map<String, TLSServerParameters> toTLSServerParamenters(
List <TLSServerParametersIdentifiedType> list) {
Map<String, TLSServerParameters> map = new TreeMap<String, TLSServerParameters>();
for (TLSServerParametersIdentifiedType t : list) {
try {
TLSServerParameters parameter = new TLSServerParametersConfig(t.getTlsServerParameters());
map.put(t.getId(), parameter);
} catch (Exception e) {
throw new RuntimeException(
"Could not configure TLS for id " + t.getId(), e);
}