}
public static final SSLKey fromDataModel(com.alu.e3.data.model.Key key) {
if (key==null) return null; //throw new IllegalArgumentException("status must not be null");
SSLKey ret = new SSLKey();
ret.setActiveCertId(key.getActiveCertId());
ret.setDisplayName(key.getKeyDetail().getName());
// do NOT set SSLKey.content and SSLKey.keyPassphrase
// key data should not be accessible through the provisioning api.
ret.setId(key.getId());
ret.setType(key.getKeyDetail().getType());
return ret;
}