edu.umk.mat.merdacz.JGServer.config
Class KeyCfg
java.lang.Object
edu.umk.mat.merdacz.JGServer.config.KeyCfg
- public class KeyCfg
- extends java.lang.Object
Part of bigger structure, which is our server configuration
object. Used for storing SSL server keys.
- Author:
- Marcin Daczkowski
- See Also:
ServerCfg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyFile
private java.lang.String keyFile
keyPassword
private java.lang.String keyPassword
KeyCfg
public KeyCfg()
getKeyFile
public java.lang.String getKeyFile()
- TODO shouldn't we keep content of the file here?
- Returns:
- the name of file where the key is stored
setKeyFile
public void setKeyFile(java.lang.String key)
- Parameters:
key
- the filename where the key is stored
getKeyPassword
public java.lang.String getKeyPassword()
- Returns:
- the password used to encrypt the key
setKeyPassword
public void setKeyPassword(java.lang.String keyPassword)
- Parameters:
keyPassword
- the password used to encrypt the key