ants.p2p.security.sockets
Class SecureClientSocketThread
java.lang.Object
ants.p2p.security.sockets.SecureClientSocketThread
public class SecureClientSocketThread
- 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
MinDHKeyExchangeBits
public static final int MinDHKeyExchangeBits
- See Also:
- Constant Field Values
SecureClientSocketThread
public SecureClientSocketThread(SecureClientSocket 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()
isNewVersionDetected
public boolean isNewVersionDetected()
getNewerVersion
public java.lang.String getNewerVersion()
getTimeElapsed
public long getTimeElapsed()
getCipherEnc
public javax.crypto.Cipher getCipherEnc()
getCipherDec
public javax.crypto.Cipher getCipherDec()
getSocket
public SecureClientSocket getSocket()