edu.umk.mat.merdacz.JGServer.config
Class KeyCfg

java.lang.Object
  extended byedu.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

Field Summary
private  java.lang.String keyFile
           
private  java.lang.String keyPassword
           
 
Constructor Summary
KeyCfg()
           
 
Method Summary
 java.lang.String getKeyFile()
          TODO shouldn't we keep content of the file here?
 java.lang.String getKeyPassword()
           
 void setKeyFile(java.lang.String key)
           
 void setKeyPassword(java.lang.String keyPassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyFile

private java.lang.String keyFile

keyPassword

private java.lang.String keyPassword
Constructor Detail

KeyCfg

public KeyCfg()
Method Detail

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