public interface ComInterface
extends java.rmi.Remote
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(java.lang.String un,
java.math.BigInteger vk) |
boolean |
createChallenge(java.math.BigInteger xe,
java.math.BigInteger ff,
byte[] cm,
byte[] ck,
java.lang.String info,
java.lang.String hash,
java.lang.String cip) |
java.util.Collection<Challenge> |
getChallenges() |
java.util.LinkedList<User> |
getListOfUsers() |
boolean |
checkConnection() |
boolean |
checkUsername(java.lang.String un) |
java.math.BigInteger[] |
receivePGQ() |
void |
removeUser(java.lang.String un) |
byte[] |
verification(int id,
byte[] oo) |
boolean checkConnection()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionboolean checkUsername(java.lang.String un)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionjava.math.BigInteger[] receivePGQ()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionvoid addUser(java.lang.String un,
java.math.BigInteger vk)
throws java.rmi.RemoteException,
java.security.NoSuchAlgorithmException
java.rmi.RemoteExceptionjava.security.NoSuchAlgorithmExceptionjava.util.LinkedList<User> getListOfUsers() throws java.rmi.RemoteException
java.rmi.RemoteExceptionboolean createChallenge(java.math.BigInteger xe,
java.math.BigInteger ff,
byte[] cm,
byte[] ck,
java.lang.String info,
java.lang.String hash,
java.lang.String cip)
throws java.rmi.RemoteException,
java.security.NoSuchAlgorithmException
java.rmi.RemoteExceptionjava.security.NoSuchAlgorithmExceptionjava.util.Collection<Challenge> getChallenges() throws java.rmi.RemoteException
java.rmi.RemoteExceptionbyte[] verification(int id,
byte[] oo)
throws java.rmi.RemoteException,
java.security.InvalidKeyException,
javax.crypto.IllegalBlockSizeException,
javax.crypto.BadPaddingException,
java.security.NoSuchAlgorithmException,
javax.crypto.NoSuchPaddingException,
java.security.NoSuchProviderException
java.rmi.RemoteExceptionjava.security.InvalidKeyExceptionjavax.crypto.IllegalBlockSizeExceptionjavax.crypto.BadPaddingExceptionjava.security.NoSuchAlgorithmExceptionjavax.crypto.NoSuchPaddingExceptionjava.security.NoSuchProviderExceptionvoid removeUser(java.lang.String un)
throws java.rmi.RemoteException
java.rmi.RemoteException