package at.gv.egovernment.moa.spss.server.config;

/**
 * Information about a trust profile.
 * 
 * @author Patrick Peck
 * @version $Id$
 */
public class TrustProfile {
  /** The ID of the trust profile. */
  private String id;
  /** The URI giving the location of the trust profile. */
  private String uri;
  /** The URI giving the location of the allowed signer certificates. */
  private String signerCertsUri;

  /**
   * Create a <code>TrustProfile</code>.
   * 
   * @param id The ID of the <code>TrustProfile</code> to create.
   * @param uri The URI of the <code>TrustProfile</code> to create.
   * @param signerCertsUri The URI of the location of the allowed signer
   *        certificates of the <code>TrustProfile</code> to create.
   */
  public TrustProfile(String id, String uri, String signerCertsUri) {
    this.id = id;
    this.uri = uri;
    this.signerCertsUri = signerCertsUri;
  }

  /**
   * Return the ID of this <code>TrustProfile</code>.
   * 
   * @return The <code>TrustProfile</code> ID.
   */
  public String getId() {
    return id;
  }

  /**
   * Return the URI of this <code>TrustProfile</code>.
   * 
   * @return The URI of <code>TrustProfile</code>.
   */
  public String getUri() {
    return uri;
  }

  /**
   * Return the URI giving the location of the allowed signer certificates
   * of this <code>TrustProfile</code>.
   * 
   * @return The URI of <code>TrustProfile</code>.
   */
  public String getSignerCertsUri() {
    return signerCertsUri;
  }
}