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

/**
 * Contains configuration data for a hardware crypto module.
 * 
 * @author Patrick Peck
 * @version $Id$
 */
public class HardwareCryptoModule {
  /** The name of the module. */
  private String name;
  /** The slod ID of the module. */
  private String slotID;
  /** The user PIN of the module. */
  private String userPIN;
  
  /**
   * Create a new <code>HardwareCryptoModule</code>.
   * 
   * @param name The name of this <code>HardwareCryptoModule</code>.
   * @param slotID The slot ID of this <code>HardwareCryptoModule</code>.
   * @param userPIN The user PIN to access this
   * <code>HardwareCryptoModule</code>.
   */
  public HardwareCryptoModule(String name, String slotID, String userPIN) {
    this.name = name;
    this.slotID = slotID;
    this.userPIN = userPIN;
  }
  
  /**
   * Returns the name of this <code>HardwareCryptoModule</code>.
   * 
   * @return The name of this <code>HardwareCryptoModule</code>.
   */
  public String getName() {
    return name;
  }

  /**
   * Returns the slot ID of this <code>HardwareCryptoModule</code>.
   * 
   * @return The slot ID.
   */
  public String getSlotID() {
    return slotID;
  }


  /**
   * Returns the user PIN of this <code>HardwareCryptoModule</code>.
   * 
   * @return The user PIN used to access the module.
   */
  public String getUserPIN() {
    return userPIN;
  }


}