|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectea.ElectionServer_Impl
The implementation of the remote object ElectionServer holding the PublicKey, the KeyShares and the ElectionProperties of the election
Constructor Summary | |
ElectionServer_Impl(ElectionProperties eps,
PublicKey pks,
KeyShare[] kss)
Constructor for the ElectionServer |
Method Summary | |
ElectionProperties |
getElectionProperties()
|
KeyShare |
getKeyShare()
Assigns an id to the decryption server, and returns the KeyShare |
int |
getNoOfDecryptionServers()
|
int |
getNoOfVoters()
|
PublicKey |
getPublicKey()
|
int |
getVoterId()
Gives an id to a voter |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ElectionServer_Impl(ElectionProperties eps, PublicKey pks, KeyShare[] kss) throws java.rmi.RemoteException
eps
- The ElectionProperties for the electionpks
- The PublicKey for the electionkss
- The array of KeyShares for the decryption servers
java.rmi.RemoteException
Method Detail |
public KeyShare getKeyShare() throws java.rmi.RemoteException
getKeyShare
in interface ElectionServer
java.rmi.RemoteException
public ElectionProperties getElectionProperties() throws java.rmi.RemoteException
getElectionProperties
in interface ElectionServer
java.rmi.RemoteException
public PublicKey getPublicKey() throws java.rmi.RemoteException
getPublicKey
in interface ElectionServer
java.rmi.RemoteException
public int getVoterId() throws java.rmi.RemoteException
getVoterId
in interface ElectionServer
java.rmi.RemoteException
public int getNoOfVoters() throws java.rmi.RemoteException
getNoOfVoters
in interface ElectionServer
java.rmi.RemoteException
public int getNoOfDecryptionServers() throws java.rmi.RemoteException
getNoOfDecryptionServers
in interface ElectionServer
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |