ants.p2p.security.sockets
Class SecureServerSocketThread
java.lang.Object
ants.p2p.security.sockets.SecureServerSocketThread
public class SecureServerSocketThread
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cipher
public static final java.lang.String cipher
- See Also:
- Constant Field Values
cipherKeySize
public static final int cipherKeySize
- See Also:
- Constant Field Values
DHKeyExchangeBits
public static final int DHKeyExchangeBits
- See Also:
- Constant Field Values
SecureServerSocketThread
public SecureServerSocketThread(java.net.Socket localSocket)
throws java.io.IOException,
java.security.NoSuchAlgorithmException,
java.security.spec.InvalidParameterSpecException,
java.security.InvalidAlgorithmParameterException,
java.security.InvalidKeyException
- Throws:
java.io.IOException
java.security.NoSuchAlgorithmException
java.security.spec.InvalidParameterSpecException
java.security.InvalidAlgorithmParameterException
java.security.InvalidKeyException
run
public void run()
getTimeElapsed
public long getTimeElapsed()
getCipherEnc
public javax.crypto.Cipher getCipherEnc()
getCipherDec
public javax.crypto.Cipher getCipherDec()
getSocket
public java.net.Socket getSocket()
getRemoteServerPort
public int getRemoteServerPort()
isNewVersionDetected
public boolean isNewVersionDetected()
getNewerVersion
public java.lang.String getNewerVersion()