inescID.revs.servers
Class StartServer
java.lang.Object
inescID.revs.servers.StartServer
- public class StartServer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_SSL
static final byte NO_SSL
- See Also:
- Constant Field Values
CONFIGURATION
static final byte CONFIGURATION
- See Also:
- Constant Field Values
START
static final byte START
- See Also:
- Constant Field Values
COMMANDS
static final java.lang.String[] COMMANDS
DISTRIBUTOR
static final int DISTRIBUTOR
- See Also:
- Constant Field Values
ADMINISTRATOR
static final int ADMINISTRATOR
- See Also:
- Constant Field Values
ANONYMIZER
static final int ANONYMIZER
- See Also:
- Constant Field Values
COUNTER
static final int COUNTER
- See Also:
- Constant Field Values
SERVERS
static final java.lang.String[] SERVERS
CREATE_DATABASE
static final int CREATE_DATABASE
- See Also:
- Constant Field Values
DELETE_DATABASE
static final int DELETE_DATABASE
- See Also:
- Constant Field Values
REDO_DATABASE
static final int REDO_DATABASE
- See Also:
- Constant Field Values
UPDATE_DATABASE
static final int UPDATE_DATABASE
- See Also:
- Constant Field Values
START_SERVER
static final int START_SERVER
- See Also:
- Constant Field Values
EXIT
static final int EXIT
- See Also:
- Constant Field Values
STOP_SERVER
static final int STOP_SERVER
- See Also:
- Constant Field Values
SERVER_BASIC_ACTIONS
static final java.lang.String[] SERVER_BASIC_ACTIONS
CREATE_SIGNING_KEYS
static final int CREATE_SIGNING_KEYS
- See Also:
- Constant Field Values
FORWARD_COUNTER_SELECTION
static final int FORWARD_COUNTER_SELECTION
- See Also:
- Constant Field Values
GATHER_VOTES
static final int GATHER_VOTES
- See Also:
- Constant Field Values
TALLY_VOTES
static final int TALLY_VOTES
- See Also:
- Constant Field Values
SERVER_SPECIFIC_ACTIONS
protected java.lang.String[][] SERVER_SPECIFIC_ACTIONS
IsStarted
protected boolean IsStarted
server_type
protected int server_type
database_authentication
java.net.PasswordAuthentication database_authentication
keystore_authentication
java.net.PasswordAuthentication keystore_authentication
SSL
boolean SSL
configuration_file
java.lang.String configuration_file
input
InputTool input
StartServer
public StartServer()
noSSL
public void noSSL()
setConfigurationFile
public void setConfigurationFile(java.lang.String file)
start
public void start()
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.Exception,
java.io.FileNotFoundException,
java.io.IOException,
java.lang.Exception,
java.lang.Throwable
- Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception
java.lang.Throwable
startEngine
private void startEngine(ReadConfigurationFile configuration,
java.net.PasswordAuthentication database_authentication,
char[] keystore_pass,
char[] key_pass)
throws java.security.UnrecoverableKeyException,
java.io.IOException,
java.security.NoSuchAlgorithmException,
java.security.cert.CertificateException,
java.security.KeyStoreException,
java.rmi.RemoteException,
java.lang.Exception
- Throws:
java.security.UnrecoverableKeyException
java.io.IOException
java.security.NoSuchAlgorithmException
java.security.cert.CertificateException
java.security.KeyStoreException
java.rmi.RemoteException
java.lang.Exception
getServerType
byte getServerType()
throws java.lang.Exception
- Throws:
java.lang.Exception
serverActions
void serverActions(ServerEngine server)
throws java.lang.Exception
- Throws:
java.lang.Exception
handleSpecificCommands
void handleSpecificCommands(ServerEngine server,
int option)
main
public static void main(java.lang.String[] args)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.Exception,
java.io.FileNotFoundException,
java.io.IOException,
java.lang.Exception,
java.lang.Throwable
- Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception
java.lang.Throwable