package at.gv.egovernment.moa.spss.server.config; /** * A class containing information about a software key, stored in PKCS12 format. * * @author Patrick Peck * @version $Id$ */ public class SoftwareKeyModule extends KeyModule { /** The name of the file containing the keys. */ private String fileName; /** The password for accessing the file. */ private String passWord; /** * Create a new SoftwareKey. * * @param id The key ID. * @param fileName The name of the PKCS12 keystore file containing the key. * @param passWord The password to access the keystore file. */ public SoftwareKeyModule(String id, String fileName, String passWord) { super(id); this.fileName = fileName; this.passWord = passWord; } /** * Return the name of the PKCS12 keystore file containing this * SoftwareKey. * * @return The name of the PKCS12 keystore file. */ public String getFileName() { return fileName; } /** * Return the password to access the keystore file. * * @return The password to access the keystore file. */ public String getPassWord() { return passWord; } }