public virtual string GetServiceType() { if (trustService == null) { return null; } return trustService.Type; }