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 HardwareCryptoModule. * * @param name The name of this HardwareCryptoModule. * @param slotID The slot ID of this HardwareCryptoModule. * @param userPIN The user PIN to access this * HardwareCryptoModule. */ public HardwareCryptoModule(String name, String slotID, String userPIN) { this.name = name; this.slotID = slotID; this.userPIN = userPIN; } /** * Returns the name of this HardwareCryptoModule. * * @return The name of this HardwareCryptoModule. */ public String getName() { return name; } /** * Returns the slot ID of this HardwareCryptoModule. * * @return The slot ID. */ public String getSlotID() { return slotID; } /** * Returns the user PIN of this HardwareCryptoModule. * * @return The user PIN used to access the module. */ public String getUserPIN() { return userPIN; } }