|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
ants.p2p.security.EndpointSecurityManager
public class EndpointSecurityManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static java.lang.String |
cipher
|
static int |
cipherKeySize
|
static int |
DHKeyExchangeBits
|
static long |
inactivityTimeout
|
static int |
MinDHKeyExchangeBits
|
static long |
refreshInterval
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
EndpointSecurityManager(WarriorAnt n,
SecurityRequestMessage srm)
|
|
EndpointSecurityManager(WarriorAnt n,
java.lang.String peerId)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
javax.crypto.Cipher |
getCipherDec()
|
javax.crypto.Cipher |
getCipherEnc()
|
long |
getLastTimeUsed()
|
java.lang.String |
getPeerId()
|
Message |
getSecurityMessage()
|
boolean |
isRequirer()
|
void |
processSecurityRequestMessage(SecurityRequestMessage srm)
|
void |
processSecurityResponseMessage(SecurityResponseMessage srm)
|
void |
resetLastTimeUsed()
|
void |
run()
|
void |
sendSecurityRequest()
|
void |
setLastTimeUsed()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String cipher
public static final int cipherKeySize
public static final int DHKeyExchangeBits
public static final int MinDHKeyExchangeBits
public static final long inactivityTimeout
public static final long refreshInterval
Constructor Detail |
---|
public EndpointSecurityManager(WarriorAnt n, java.lang.String peerId) throws java.lang.Exception
java.lang.Exception
public EndpointSecurityManager(WarriorAnt n, SecurityRequestMessage srm) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public long getLastTimeUsed()
public void resetLastTimeUsed()
public void setLastTimeUsed()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.lang.String getPeerId()
public boolean isRequirer()
public void sendSecurityRequest() throws java.lang.Exception
java.lang.Exception
public Message getSecurityMessage()
public void processSecurityResponseMessage(SecurityResponseMessage srm) throws java.lang.Exception
java.lang.Exception
public javax.crypto.Cipher getCipherEnc()
public javax.crypto.Cipher getCipherDec()
public void processSecurityRequestMessage(SecurityRequestMessage srm) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |