pki
Class PKIServer.PKIWorker

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--pki.PKIServer.PKIWorker
All Implemented Interfaces:
org.ssonet.net.ConnectionListener, java.lang.Runnable
Enclosing class:
PKIServer

public static final class PKIServer.PKIWorker
extends java.lang.Thread
implements org.ssonet.net.ConnectionListener


Field Summary
(package private)  pki.PKICert certifier
           
(package private)  pki.PKIDatabase database
           
static boolean debug
           
(package private)  char[] keypw
           
(package private)  org.ssonet.net.impl.SSONETServerClientSocket todo
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface org.ssonet.net.ConnectionListener
FINISHED_STATE, INIT_STATE, MECHANISMS_NEGOTIATION, NOT_STARTED_STATE, RUNNING_STATE, SECURITY_GOAL_NEGOTIATION
 
Constructor Summary
PKIServer.PKIWorker(pki.PKICert certifier, pki.PKIDatabase database, char[] keypw)
           
 
Method Summary
 void connectionStateChanged(org.ssonet.net.SSONETContext context, int currentState)
           
 boolean decideSecurityGoal(int securityGoal, org.ssonet.net.ActionConfiguration ownConfiguration, org.ssonet.net.SSONETContext context)
           
 void negotiationRequestReceived(org.ssonet.net.SSONETContext context, int negotiationType)
           
 void run()
           
 void set(org.ssonet.net.impl.SSONETServerClientSocket socket)
           
 void waitConnect(org.ssonet.net.SSONETContext context)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

debug

public static boolean debug

certifier

pki.PKICert certifier

database

pki.PKIDatabase database

keypw

char[] keypw

todo

org.ssonet.net.impl.SSONETServerClientSocket todo
Constructor Detail

PKIServer.PKIWorker

public PKIServer.PKIWorker(pki.PKICert certifier,
                           pki.PKIDatabase database,
                           char[] keypw)
Method Detail

connectionStateChanged

public void connectionStateChanged(org.ssonet.net.SSONETContext context,
                                   int currentState)
Specified by:
connectionStateChanged in interface org.ssonet.net.ConnectionListener

waitConnect

public void waitConnect(org.ssonet.net.SSONETContext context)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

set

public void set(org.ssonet.net.impl.SSONETServerClientSocket socket)

negotiationRequestReceived

public void negotiationRequestReceived(org.ssonet.net.SSONETContext context,
                                       int negotiationType)
Specified by:
negotiationRequestReceived in interface org.ssonet.net.ConnectionListener

decideSecurityGoal

public boolean decideSecurityGoal(int securityGoal,
                                  org.ssonet.net.ActionConfiguration ownConfiguration,
                                  org.ssonet.net.SSONETContext context)
Specified by:
decideSecurityGoal in interface org.ssonet.net.ConnectionListener


Copyright © 2003 DRIM Team. All Rights Reserved.